mirror of
https://github.com/sheumann/hush.git
synced 2025-01-11 23:29:51 +00:00
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
8cab66730a
commit
56443cdbdd
@ -2517,7 +2517,7 @@ int FAST_FUNC read_line_input(line_input_t *st, const char *prompt, char *comman
|
|||||||
switch (ic) {
|
switch (ic) {
|
||||||
//case KEYCODE_LEFT: - bash doesn't do this
|
//case KEYCODE_LEFT: - bash doesn't do this
|
||||||
case 'b':
|
case 'b':
|
||||||
ctrl_left();
|
ctrl_left();
|
||||||
break;
|
break;
|
||||||
//case KEYCODE_RIGHT: - bash doesn't do this
|
//case KEYCODE_RIGHT: - bash doesn't do this
|
||||||
case 'f':
|
case 'f':
|
||||||
|
@ -1337,7 +1337,7 @@ static NOINLINE int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
|
|||||||
"udp\0"
|
"udp\0"
|
||||||
"lock\0"
|
"lock\0"
|
||||||
"rdirplus\0"
|
"rdirplus\0"
|
||||||
"acl\0";
|
"acl\0";
|
||||||
int val = 1;
|
int val = 1;
|
||||||
if (!strncmp(opt, "no", 2)) {
|
if (!strncmp(opt, "no", 2)) {
|
||||||
val = 0;
|
val = 0;
|
||||||
@ -1388,7 +1388,7 @@ static NOINLINE int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
|
|||||||
nordirplus = !val;
|
nordirplus = !val;
|
||||||
break;
|
break;
|
||||||
case 12: // acl
|
case 12: // acl
|
||||||
noacl = !val;
|
noacl = !val;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
bb_error_msg("unknown nfs mount option: %s%s", val ? "" : "no", opt);
|
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)
|
|||||||
| (nocto ? NFS_MOUNT_NOCTO : 0)
|
| (nocto ? NFS_MOUNT_NOCTO : 0)
|
||||||
| (noac ? NFS_MOUNT_NOAC : 0)
|
| (noac ? NFS_MOUNT_NOAC : 0)
|
||||||
| (nordirplus ? NFS_MOUNT_NORDIRPLUS : 0)
|
| (nordirplus ? NFS_MOUNT_NORDIRPLUS : 0)
|
||||||
| (noacl ? NFS_MOUNT_NOACL : 0);
|
| (noacl ? NFS_MOUNT_NOACL : 0);
|
||||||
if (nfs_mount_version >= 2)
|
if (nfs_mount_version >= 2)
|
||||||
data.flags |= (tcp ? NFS_MOUNT_TCP : 0);
|
data.flags |= (tcp ? NFS_MOUNT_TCP : 0);
|
||||||
if (nfs_mount_version >= 3)
|
if (nfs_mount_version >= 3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user