diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-28 10:25:19 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-28 10:25:19 +0000 |
commit | b122217d90171a7989fcc792d229444b66d99649 (patch) | |
tree | 9a674a64f9620001071efcc914d87f2c343b6211 /libbb | |
parent | 642f28903ac3986d2af6002c78f48c0256801965 (diff) | |
download | busybox-w32-b122217d90171a7989fcc792d229444b66d99649.tar.gz busybox-w32-b122217d90171a7989fcc792d229444b66d99649.tar.bz2 busybox-w32-b122217d90171a7989fcc792d229444b66d99649.zip |
Use error_msg( instead of fprintf(stderr
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/module_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c index cf922f8eb..6bfff207f 100644 --- a/libbb/module_syscalls.c +++ b/libbb/module_syscalls.c | |||
@@ -51,8 +51,8 @@ _syscall5(int, init_module, void *, first, void *, second, void *, third, | |||
51 | #warning -> The query_module system call is being stubbed out... | 51 | #warning -> The query_module system call is being stubbed out... |
52 | int query_module(const char *name, int which, void *buf, size_t bufsize, size_t *ret) | 52 | int query_module(const char *name, int which, void *buf, size_t bufsize, size_t *ret) |
53 | { | 53 | { |
54 | fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n"); | 54 | error_msg("\n\nTo make this application work, you will need to recompile\n" |
55 | fprintf(stderr, "with a kernel supporting the query_module system call. -Erik\n\n"); | 55 | "with a kernel supporting the query_module system call. -Erik\n"); |
56 | errno=ENOSYS; | 56 | errno=ENOSYS; |
57 | return -1; | 57 | return -1; |
58 | } | 58 | } |