[BusyBox-cvs] busybox/libbb module_syscalls.c,1.8,1.9

Glenn McGrath bug1 at busybox.net
Thu Nov 28 10:25:22 UTC 2002


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

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


Index: module_syscalls.c
===================================================================
RCS file: /var/cvs/busybox/libbb/module_syscalls.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- module_syscalls.c	12 Mar 2002 00:35:40 -0000	1.8
+++ module_syscalls.c	28 Nov 2002 10:25:19 -0000	1.9
@@ -51,8 +51,8 @@
 #warning -> The query_module system call is being stubbed out...
 int query_module(const char *name, int which, void *buf, size_t bufsize, size_t *ret)
 {
-	fprintf(stderr, "\n\nTo make this application work, you will need to recompile\n");
-	fprintf(stderr, "with a kernel supporting the query_module system call. -Erik\n\n");
+	error_msg("\n\nTo make this application work, you will need to recompile\n"
+		"with a kernel supporting the query_module system call. -Erik\n");
 	errno=ENOSYS;
 	return -1;
 }




More information about the busybox-cvs mailing list