aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/syscalls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/syscalls.c b/libbb/syscalls.c
index 76b77f816..91e97b178 100644
--- a/libbb/syscalls.c
+++ b/libbb/syscalls.c
@@ -53,8 +53,8 @@ int pivot_root(const char * new_root,const char * put_old)
53 * you will need to recompile with a kernel supporting the 53 * you will need to recompile with a kernel supporting the
54 * pivot_root system call. 54 * pivot_root system call.
55 */ 55 */
56 fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n"); 56 error_msg("\n\nTo make this application work, you will need to recompile\n"
57 fprintf(stderr, "with a kernel supporting the pivot_root system call. -Erik\n\n"); 57 "with a kernel supporting the pivot_root system call. -Erik\n");
58 errno=ENOSYS; 58 errno=ENOSYS;
59 return -1; 59 return -1;
60} 60}
@@ -91,8 +91,8 @@ int umount2(const char * special_file, int flags)
91 * you will need to recompile with a kernel supporting the 91 * you will need to recompile with a kernel supporting the
92 * umount2 system call. 92 * umount2 system call.
93 */ 93 */
94 fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n"); 94 error_msg("\n\nTo make this application work, you will need to recompile\n"
95 fprintf(stderr, "with a kernel supporting the umount2 system call. -Erik\n\n"); 95 "with a kernel supporting the umount2 system call. -Erik\n");
96 errno=ENOSYS; 96 errno=ENOSYS;
97 return -1; 97 return -1;
98} 98}