* file.c (sys_utime): Don't call abort() if wordsize is strange.
Instead, warn user about it.
* desc.c (printflock): Use the same message string as in sys_utime.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
fl.l_pid = fl32.l_pid;
} else {
/* let people know we have a problem here */
- tprintf("{ <decode error: unsupported wordsize %d> }",
+ tprintf("<decode error: unsupported wordsize %d>",
current_wordsize);
return;
}
union {
long utl[2];
int uti[2];
+ long paranoia_for_huge_wordsize[4];
} u;
- unsigned wordsize = current_wordsize;
+ unsigned wordsize;
if (entering(tcp)) {
printpath(tcp, tcp->u_arg[0]);
tprints(", ");
+
+ wordsize = current_wordsize;
if (!tcp->u_arg[1])
tprints("NULL");
else if (!verbose(tcp))
tprintf(" %s]", sprinttime(u.uti[1]));
}
else
- abort();
+ tprintf("<decode error: unsupported wordsize %d>",
+ wordsize);
}
return 0;
}