aboutsummaryrefslogtreecommitdiff
path: root/util-linux/findfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/findfs.c')
-rw-r--r--util-linux/findfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/findfs.c b/util-linux/findfs.c
index 49e8979ac..07734f359 100644
--- a/util-linux/findfs.c
+++ b/util-linux/findfs.c
@@ -27,7 +27,7 @@ int findfs_main(int argc UNUSED_PARAM, char **argv)
27 if (!dev) 27 if (!dev)
28 bb_show_usage(); 28 bb_show_usage();
29 29
30 if (strncmp(dev, "/dev/", 5) == 0) { 30 if (is_prefixed_with(dev, "/dev/")) {
31 /* Just pass any /dev/xxx name right through. 31 /* Just pass any /dev/xxx name right through.
32 * This might aid in some scripts being able 32 * This might aid in some scripts being able
33 * to call this unconditionally */ 33 * to call this unconditionally */