← Commit list

68d949956

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/syscalls.c+4 -4
@@ -53,8 +53,8 @@ int pivot_root(const char * new_root,const char * put_old)
* you will need to recompile with a kernel supporting the
* pivot_root system call.
*/
- fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n");
- fprintf(stderr, "with a kernel supporting the pivot_root system call. -Erik\n\n");
+ error_msg("\n\nTo make this application work, you will need to recompile\n"
+ "with a kernel supporting the pivot_root system call. -Erik\n");
errno=ENOSYS;
return -1;
}
@@ -91,8 +91,8 @@ int umount2(const char * special_file, int flags)
* you will need to recompile with a kernel supporting the
* umount2 system call.
*/
- fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n");
- fprintf(stderr, "with a kernel supporting the umount2 system call. -Erik\n\n");
+ error_msg("\n\nTo make this application work, you will need to recompile\n"
+ "with a kernel supporting the umount2 system call. -Erik\n");
errno=ENOSYS;
return -1;
}