svn commit: trunk/busybox/util-linux

vapier at busybox.net vapier at busybox.net
Thu Jun 14 09:29:49 UTC 2007


Author: vapier
Date: 2007-06-14 02:29:48 -0700 (Thu, 14 Jun 2007)
New Revision: 18821

Log:
Alex Landau writes: open firmware for reading, not writing

Modified:
   trunk/busybox/util-linux/mdev.c


Changeset:
Modified: trunk/busybox/util-linux/mdev.c
===================================================================
--- trunk/busybox/util-linux/mdev.c	2007-06-14 07:53:06 UTC (rev 18820)
+++ trunk/busybox/util-linux/mdev.c	2007-06-14 09:29:48 UTC (rev 18821)
@@ -241,7 +241,7 @@
 
 	/* check for /lib/firmware/$FIRMWARE */
 	xchdir("/lib/firmware");
-	firmware_fd = xopen(firmware, O_WRONLY);
+	firmware_fd = xopen(firmware, O_RDONLY);
 
 	/* in case we goto out ... */
 	data_fd = -1;




More information about the busybox-cvs mailing list