aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:47:11 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:47:11 +0000
commit0b193a787194549bbf22ff6f5db7a52f41da69ef (patch)
tree40c9022518937b186c9b2fa3820aea7c12f03ef2 /include
parenta959588b80529ef5e02048ed71f3c7bf9a117217 (diff)
downloadbusybox-0b193a787194549bbf22ff6f5db7a52f41da69ef.tar.gz
losetup: use /dev/loopN or /dev/loop/N according to CONFIG_FEATURE_DEVFS=n/y
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 05927f1de..67cf4939c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -442,6 +442,7 @@ extern int bb_default_error_retval;
#endif
# define VC_FORMAT "/dev/vc/%d"
# define LOOP_FORMAT "/dev/loop/%d"
+# define LOOP_NAME "/dev/loop/"
# define FB_0 "/dev/fb/0"
#else
# define CURRENT_VC "/dev/tty0"
@@ -461,6 +462,7 @@ extern int bb_default_error_retval;
#endif
# define VC_FORMAT "/dev/tty%d"
# define LOOP_FORMAT "/dev/loop%d"
+# define LOOP_NAME "/dev/loop"
# define FB_0 "/dev/fb0"
#endif