summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath2002-11-28 10:35:40 +0000
committerGlenn L McGrath2002-11-28 10:35:40 +0000
commit68d949956a9e6b0b2eac40a47583d181fd18d75e (patch)
treee422fa5f71325fea643d946568a832d64cafa6ad
parentb2e28a0e3500d78fd6fb1d76e45ffe501b070404 (diff)
downloadbusybox-68d949956a9e6b0b2eac40a47583d181fd18d75e.zip
busybox-68d949956a9e6b0b2eac40a47583d181fd18d75e.tar.gz
Use error_msg instead of fprintf(stderr
-rw-r--r--libbb/syscalls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/syscalls.c b/libbb/syscalls.c
index 76b77f8..91e97b1 100644
--- a/libbb/syscalls.c
+++ b/libbb/syscalls.c
@@ -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;
}