mirror of
https://github.com/sheumann/hush.git
synced 2025-02-02 01:35:53 +00:00
Use error_msg instead of fprintf(stderr
This commit is contained in:
parent
b2e28a0e35
commit
68d949956a
@ -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
|
* you will need to recompile with a kernel supporting the
|
||||||
* pivot_root system call.
|
* pivot_root system call.
|
||||||
*/
|
*/
|
||||||
fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n");
|
error_msg("\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");
|
"with a kernel supporting the pivot_root system call. -Erik\n");
|
||||||
errno=ENOSYS;
|
errno=ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@ -91,8 +91,8 @@ int umount2(const char * special_file, int flags)
|
|||||||
* you will need to recompile with a kernel supporting the
|
* you will need to recompile with a kernel supporting the
|
||||||
* umount2 system call.
|
* umount2 system call.
|
||||||
*/
|
*/
|
||||||
fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n");
|
error_msg("\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");
|
"with a kernel supporting the umount2 system call. -Erik\n");
|
||||||
errno=ENOSYS;
|
errno=ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user