search for: bf770dd

Displaying 1 result from an estimated 1 matches for "bf770dd".

2010 Oct 19
3
[PATCH] Fix up 3 klibc build warnings.
...char c[4]; + } test = { .c = "CONF" }; - if (*(int *)test != INT_CONF) { + if (test.i != INT_CONF) { fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianess? %#x\n", - *(int *)test); + test.i); exit(2); } } diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c index bf770dd..43b6b98 100644 --- a/usr/dash/jobs.c +++ b/usr/dash/jobs.c @@ -424,7 +424,7 @@ sprint_status(char *s, int status, int sigonly) goto out; #endif } - col = fmtstr(s, 32, strsignal(st)); + col = fmtstr(s, 32, "%s", strsignal(st)); if (WCOREDUMP(status)) { col += fmtstr(s +...