aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-26 20:56:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-26 20:56:55 +0000
commitc03e8721128fa7803d40dd07084f7650e88c7355 (patch)
treec13760bac677e9d4220477c0ac29ed9c2a52c1a4 /util-linux
parentabee3d0e0dc7c7e4b733b0145c56bf8159a37a69 (diff)
downloadbusybox-w32-c03e8721128fa7803d40dd07084f7650e88c7355.tar.gz
busybox-w32-c03e8721128fa7803d40dd07084f7650e88c7355.tar.bz2
busybox-w32-c03e8721128fa7803d40dd07084f7650e88c7355.zip
save a bit of code with *strchrnul = '\0' trick
function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 1ecdd9529..abf5cd03f 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -1448,7 +1448,7 @@ static int singlemount(struct mntent *mp, int ignore_busy)
1448 // Might this be a virtual filesystem? 1448 // Might this be a virtual filesystem?
1449 1449
1450 if (ENABLE_FEATURE_MOUNT_HELPERS 1450 if (ENABLE_FEATURE_MOUNT_HELPERS
1451 && (strchr(mp->mnt_fsname,'#')) 1451 && (strchr(mp->mnt_fsname, '#'))
1452 ) { 1452 ) {
1453 char *s, *p, *args[35]; 1453 char *s, *p, *args[35];
1454 int n = 0; 1454 int n = 0;