findfs,mount: trivial build fix and whitespace fiexs
This commit is contained in:
parent
431a7c9c53
commit
53ce7f0d71
@ -25,7 +25,7 @@ int findfs_main(int argc, char **argv)
|
||||
tmp = get_devname_from_uuid(argv[1] + 5);
|
||||
else if (!strncmp(argv[1], "/dev/", 5)) {
|
||||
/* Just pass a device name right through. This might aid in some scripts
|
||||
being able to call this unconditionally */
|
||||
being able to call this unconditionally */
|
||||
tmp = argv[1];
|
||||
} else
|
||||
bb_show_usage();
|
||||
|
@ -248,6 +248,7 @@ static int verbose_mount(const char *source, const char *target,
|
||||
#define verbose_mount(...) mount(__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#if ENABLE_FEATURE_MOUNT_LABEL
|
||||
static int resolve_mount_spec(char **fsname)
|
||||
{
|
||||
char *tmp = NULL;
|
||||
@ -263,6 +264,7 @@ static int resolve_mount_spec(char **fsname)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Append mount options to string */
|
||||
static void append_mount_options(char **oldopts, const char *newopts)
|
||||
|
Loading…
Reference in New Issue
Block a user