diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-28 10:35:40 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-28 10:35:40 +0000 |
commit | 94ff8c90460ccfac9c5ecbe9447c5f8784ff165e (patch) | |
tree | e422fa5f71325fea643d946568a832d64cafa6ad /libbb | |
parent | ceee21f1ebe21469f0810ddb67a9991550c43a32 (diff) | |
download | busybox-w32-94ff8c90460ccfac9c5ecbe9447c5f8784ff165e.tar.gz busybox-w32-94ff8c90460ccfac9c5ecbe9447c5f8784ff165e.tar.bz2 busybox-w32-94ff8c90460ccfac9c5ecbe9447c5f8784ff165e.zip |
Use error_msg instead of fprintf(stderr
git-svn-id: svn://busybox.net/trunk/busybox@6049 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/syscalls.c | 8 |
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 | } |