kernel debug: priv can be NULL early on
[minix.git] / lib / libcompat_minix / stderr.c
blobfd7f65b4b7b67b9170e71a547ddeb85bb36ae7ee
1 #include <lib.h>
2 #include <sys/types.h>
3 #include <unistd.h>
5 void std_err(const char *s)
7 register const char *p = s;
9 while (*p != 0) p++;
10 write(2, s, (int) (p - s));