[BusyBox-cvs] busybox/libbb syscalls.c,1.7,1.8

Glenn McGrath bug1 at busybox.net
Thu Nov 28 10:35:43 UTC 2002


Update of /var/cvs/busybox/libbb
In directory winder:/tmp/cvs-serv22582/libbb

Modified Files:
	syscalls.c 
Log Message:
Use error_msg instead of fprintf(stderr


Index: syscalls.c
===================================================================
RCS file: /var/cvs/busybox/libbb/syscalls.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- syscalls.c	12 Mar 2002 00:35:40 -0000	1.7
+++ syscalls.c	28 Nov 2002 10:35:40 -0000	1.8
@@ -53,8 +53,8 @@
 	 *  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 @@
 	 *  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;
 }




More information about the busybox-cvs mailing list