Displaying 1 result from an estimated 1 matches for "d6706c6".
Did you mean:
670656
2010 Oct 19
3
[PATCH] Fix up 3 klibc build warnings.
...t 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 + col, 16, " (core dumped)");
}
diff --git a/usr/dash/trap.c b/usr/dash/trap.c
index 18c3cd1..d6706c6 100644
--- a/usr/dash/trap.c
+++ b/usr/dash/trap.c
@@ -351,7 +351,7 @@ exitshell(void)
{
struct jmploc loc;
char *p;
- int status;
+ volatile int status;
#ifdef HETIO
hetio_reset_term();
--
1.7.1