Use error_msg( instead of fprintf(stderr
This commit is contained in:
parent
642f28903a
commit
b122217d90
@ -51,8 +51,8 @@ _syscall5(int, init_module, void *, first, void *, second, void *, third,
|
|||||||
#warning -> The query_module system call is being stubbed out...
|
#warning -> The query_module system call is being stubbed out...
|
||||||
int query_module(const char *name, int which, void *buf, size_t bufsize, size_t *ret)
|
int query_module(const char *name, int which, void *buf, size_t bufsize, size_t *ret)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n");
|
error_msg("\n\nTo make this application work, you will need to recompile\n"
|
||||||
fprintf(stderr, "with a kernel supporting the query_module system call. -Erik\n\n");
|
"with a kernel supporting the query_module system call. -Erik\n");
|
||||||
errno=ENOSYS;
|
errno=ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user