[BusyBox-cvs] busybox/libbb interface.c,1.13,1.14 login.c,1.1,1.2
Glenn McGrath
bug1 at busybox.net
Sun Feb 9 22:40:37 UTC 2003
Update of /var/cvs/busybox/libbb
In directory winder:/tmp/cvs-serv32565/libbb
Modified Files:
interface.c login.c
Log Message:
Fix compiler warnings, patch by Steven Scholz
Index: interface.c
===================================================================
RCS file: /var/cvs/busybox/libbb/interface.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- interface.c 14 Jan 2003 08:54:06 -0000 1.13
+++ interface.c 9 Feb 2003 22:40:33 -0000 1.14
@@ -960,7 +960,7 @@
(as of 2.1.128) */
skfd2 = get_socket_for_af(AF_INET);
if (skfd2 < 0) {
- perror_msg(("warning: no inet socket available: %s\n"));
+ perror_msg(("warning: no inet socket available"));
/* Try to soldier on with whatever socket we can get hold of. */
skfd2 = sockets_open(0);
if (skfd2 < 0)
@@ -1106,7 +1106,7 @@
fh = fopen(_PATH_PROCNET_DEV, "r");
if (!fh) {
- perror_msg(_("Warning: cannot open %s (%s). Limited output.\n"), _PATH_PROCNET_DEV);
+ perror_msg(_("Warning: cannot open %s. Limited output."), _PATH_PROCNET_DEV);
return if_readconf();
}
fgets(buf, sizeof buf, fh); /* eat line */
Index: login.c
===================================================================
RCS file: /var/cvs/busybox/libbb/login.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- login.c 21 Jan 2003 20:59:34 -0000 1.1
+++ login.c 9 Feb 2003 22:40:33 -0000 1.2
@@ -37,7 +37,6 @@
FILE *fd;
int c;
char buf[256];
- char *ret;
time_t t;
struct utsname uts;
More information about the busybox-cvs
mailing list