aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/lineedit.c2
-rw-r--r--util-linux/mount.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 460e27fed..db8416712 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -2517,7 +2517,7 @@ int FAST_FUNC read_line_input(line_input_t *st, const char *prompt, char *comman
2517 switch (ic) { 2517 switch (ic) {
2518 //case KEYCODE_LEFT: - bash doesn't do this 2518 //case KEYCODE_LEFT: - bash doesn't do this
2519 case 'b': 2519 case 'b':
2520 ctrl_left(); 2520 ctrl_left();
2521 break; 2521 break;
2522 //case KEYCODE_RIGHT: - bash doesn't do this 2522 //case KEYCODE_RIGHT: - bash doesn't do this
2523 case 'f': 2523 case 'f':
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 807e89747..f1da30fac 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -1337,7 +1337,7 @@ static NOINLINE int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
1337 "udp\0" 1337 "udp\0"
1338 "lock\0" 1338 "lock\0"
1339 "rdirplus\0" 1339 "rdirplus\0"
1340 "acl\0"; 1340 "acl\0";
1341 int val = 1; 1341 int val = 1;
1342 if (!strncmp(opt, "no", 2)) { 1342 if (!strncmp(opt, "no", 2)) {
1343 val = 0; 1343 val = 0;
@@ -1388,7 +1388,7 @@ static NOINLINE int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
1388 nordirplus = !val; 1388 nordirplus = !val;
1389 break; 1389 break;
1390 case 12: // acl 1390 case 12: // acl
1391 noacl = !val; 1391 noacl = !val;
1392 break; 1392 break;
1393 default: 1393 default:
1394 bb_error_msg("unknown nfs mount option: %s%s", val ? "" : "no", opt); 1394 bb_error_msg("unknown nfs mount option: %s%s", val ? "" : "no", opt);
@@ -1404,7 +1404,7 @@ static NOINLINE int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
1404 | (nocto ? NFS_MOUNT_NOCTO : 0) 1404 | (nocto ? NFS_MOUNT_NOCTO : 0)
1405 | (noac ? NFS_MOUNT_NOAC : 0) 1405 | (noac ? NFS_MOUNT_NOAC : 0)
1406 | (nordirplus ? NFS_MOUNT_NORDIRPLUS : 0) 1406 | (nordirplus ? NFS_MOUNT_NORDIRPLUS : 0)
1407 | (noacl ? NFS_MOUNT_NOACL : 0); 1407 | (noacl ? NFS_MOUNT_NOACL : 0);
1408 if (nfs_mount_version >= 2) 1408 if (nfs_mount_version >= 2)
1409 data.flags |= (tcp ? NFS_MOUNT_TCP : 0); 1409 data.flags |= (tcp ? NFS_MOUNT_TCP : 0);
1410 if (nfs_mount_version >= 3) 1410 if (nfs_mount_version >= 3)