diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-19 14:29:46 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-19 14:29:46 +0300 |
commit | 53ce7f0d7149beeed71e6dcc857d1cd4431cd550 (patch) | |
tree | d5895fdfa6b3c73632bbf8dca991fcb34001f946 /util-linux/findfs.c | |
parent | 431a7c9c53b69a7416091721da673bcff7c91a02 (diff) |
findfs,mount: trivial build fix and whitespace fiexs
Diffstat (limited to 'util-linux/findfs.c')
-rw-r--r-- | util-linux/findfs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util-linux/findfs.c b/util-linux/findfs.c index 4f036425c..5b64399ad 100644 --- a/util-linux/findfs.c +++ b/util-linux/findfs.c @@ -17,7 +17,7 @@ int findfs_main(int argc, char **argv) char *tmp = NULL; if (argc != 2) - bb_show_usage(); + bb_show_usage(); if (!strncmp(argv[1], "LABEL=", 6)) tmp = get_devname_from_label(argv[1] + 6); @@ -25,14 +25,14 @@ 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(); - - if (tmp) { - puts(tmp); + + if (tmp) { + puts(tmp); return 0; } return 1; -} +} |