Philippe Gerum : lib/cobalt: use common console message prefix
A message that is not in the archive (sent off-list or not yet received): [email protected]
Review
Quoted 4 lines · git repository hosting
static void
sigill_handler(int sig)
{(quoted diff) +1
-1- fprintf(stderr, "Xenomai disabled in kernel?\n"); + const char *m = "Xenomai disabled in kernel?\n";
I believe you want static const char m[] =
otherwise sizeof(m) will be 4 or 8.
Signature · 1 line
Gilles.
Quoted 11 lines · Gilles Chanteperdrix
Review
Quoted 4 lines · git repository hosting
static void sigill_handler(int sig) {(quoted diff) +1
-1- fprintf(stderr, "Xenomai disabled in kernel?\n"); + const char *m = "Xenomai disabled in kernel?\n";I believe you want static const char m[] =
otherwise sizeof(m) will be 4 or 8.
Fixed, thanks.
Signature · 1 line
Philippe.