svn commit: trunk/busybox/util-linux
landley at busybox.net
landley at busybox.net
Sat Apr 1 17:32:53 UTC 2006
Author: landley
Date: 2006-04-01 09:32:52 -0800 (Sat, 01 Apr 2006)
New Revision: 14723
Log:
Bug spotted by Kumar Gala. Hopefully this fixes it...
Modified:
trunk/busybox/util-linux/mount.c
Changeset:
Modified: trunk/busybox/util-linux/mount.c
===================================================================
--- trunk/busybox/util-linux/mount.c 2006-04-01 17:28:11 UTC (rev 14722)
+++ trunk/busybox/util-linux/mount.c 2006-04-01 17:32:52 UTC (rev 14723)
@@ -475,8 +475,9 @@
// Get next fstab entry
- if (!getmntent_r(fstab, mtcur, bb_common_bufsiz1,
- sizeof(bb_common_bufsiz1)))
+ if (!getmntent_r(fstab, mtcur, bb_common_bufsiz1
+ + (mtcur==mtpair ? sizeof(bb_common_bufsiz1)/2 : 0),
+ sizeof(bb_common_bufsiz1)/2))
{
// Were we looking for something specific?
More information about the busybox-cvs
mailing list