[BusyBox-cvs] busybox/coreutils df.c,1.51,1.52

Manuel Novoa III mjn3 at busybox.net
Sun Mar 23 20:27:37 UTC 2003


Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv32557/coreutils

Modified Files:
	df.c 
Log Message:
Oops... had != but meant ==.


Index: df.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/df.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- df.c	19 Mar 2003 09:42:02 -0000	1.51
+++ df.c	23 Mar 2003 20:27:33 -0000	1.52
@@ -143,7 +143,7 @@
 			if (strcmp(device, "/dev/root") == 0) {
 				/* Adjusts device to be the real root device,
 				* or leaves device alone if it can't find it */
-				if ((device = find_real_root_device_name(device)) != NULL) {
+				if ((device = find_real_root_device_name(device)) == NULL) {
 					goto SET_ERROR;
 				}
 			}




More information about the busybox-cvs mailing list