summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2002-03-20 15:25:25 +0000
committerEric Andersen2002-03-20 15:25:25 +0000
commitc7a3fb96d0936bbbedc428eafd3701edd219f70a (patch)
tree0215ecc98493231be315f1c8d0288d16b32c1cce /include
parentb0cc0a6ca879781c3899731c70eb3261252c7fe3 (diff)
downloadbusybox-c7a3fb96d0936bbbedc428eafd3701edd219f70a.zip
busybox-c7a3fb96d0936bbbedc428eafd3701edd219f70a.tar.gz
Fix devfs loop device support
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 8dadfd9..cf593d6 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -270,6 +270,7 @@ extern const char * const can_not_create_raw_socket;
# define SC_1 "/dev/tts/1"
# define VC_FORMAT "/dev/vc/%d"
# define SC_FORMAT "/dev/tts/%d"
+# define LOOP_FORMAT "/dev/loop/%d"
#else
# define CURRENT_VC "/dev/tty0"
# define VC_1 "/dev/tty1"
@@ -281,6 +282,7 @@ extern const char * const can_not_create_raw_socket;
# define SC_1 "/dev/ttyS1"
# define VC_FORMAT "/dev/tty%d"
# define SC_FORMAT "/dev/ttyS%d"
+# define LOOP_FORMAT "/dev/loop%d"
#endif
/* The following devices are the same on devfs and non-devfs systems. */