summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /util-linux/mount.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index a7b0a98f0..c159f41e1 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -888,7 +888,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts)
888 if (filteropts) for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) { 888 if (filteropts) for (opt = strtok(filteropts, ","); opt; opt = strtok(NULL, ",")) {
889 char *opteq = strchr(opt, '='); 889 char *opteq = strchr(opt, '=');
890 if (opteq) { 890 if (opteq) {
891 static const char options[] = 891 static const char options[] ALIGN1 =
892 /* 0 */ "rsize\0" 892 /* 0 */ "rsize\0"
893 /* 1 */ "wsize\0" 893 /* 1 */ "wsize\0"
894 /* 2 */ "timeo\0" 894 /* 2 */ "timeo\0"
@@ -991,7 +991,7 @@ static int nfsmount(struct mntent *mp, int vfsflags, char *filteropts)
991 } 991 }
992 } 992 }
993 else { 993 else {
994 static const char options[] = 994 static const char options[] ALIGN1 =
995 "bg\0" 995 "bg\0"
996 "fg\0" 996 "fg\0"
997 "soft\0" 997 "soft\0"
@@ -1524,7 +1524,7 @@ static int singlemount(struct mntent *mp, int ignore_busy)
1524// Parse options, if necessary parse fstab/mtab, and call singlemount for 1524// Parse options, if necessary parse fstab/mtab, and call singlemount for
1525// each directory to be mounted. 1525// each directory to be mounted.
1526 1526
1527static const char must_be_root[] = "you must be root"; 1527static const char must_be_root[] ALIGN1 = "you must be root";
1528 1528
1529int mount_main(int argc, char **argv); 1529int mount_main(int argc, char **argv);
1530int mount_main(int argc, char **argv) 1530int mount_main(int argc, char **argv)