← Commit list

b122217d9

Glenn L McGrath
Glenn L McGrath
2002-11-28
FAILED Duration: 6s

Subject

Use error_msg( instead of fprintf(stderr

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/module_syscalls.c+2 -2
@@ -51,8 +51,8 @@ _syscall5(int, init_module, void *, first, void *, second, void *, third,
#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)
{
- fprintf(stderr, "\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");
+ error_msg("\n\nTo make this application work, you will need to recompile\n"
+ "with a kernel supporting the query_module system call. -Erik\n");
errno=ENOSYS;
return -1;
}