diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-28 10:35:40 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-28 10:35:40 +0000 |
commit | 68d949956a9e6b0b2eac40a47583d181fd18d75e (patch) | |
tree | e422fa5f71325fea643d946568a832d64cafa6ad /libbb | |
parent | b2e28a0e3500d78fd6fb1d76e45ffe501b070404 (diff) | |
download | busybox-w32-68d949956a9e6b0b2eac40a47583d181fd18d75e.tar.gz busybox-w32-68d949956a9e6b0b2eac40a47583d181fd18d75e.tar.bz2 busybox-w32-68d949956a9e6b0b2eac40a47583d181fd18d75e.zip |
Use error_msg instead of fprintf(stderr
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 | } |