summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen2000-05-08 17:56:25 +0000
committerErik Andersen2000-05-08 17:56:25 +0000
commit691f49d3c13638d5f1e99cfc2f7e0c6394d2bf01 (patch)
tree87ed56c5848bcfebc606d8082e2f71393762ce1b
parent0e713cef9d232cdbfd882f6f7a0c376d0385b829 (diff)
downloadbusybox-691f49d3c13638d5f1e99cfc2f7e0c6394d2bf01.zip
busybox-691f49d3c13638d5f1e99cfc2f7e0c6394d2bf01.tar.gz
Fix umount dependency on find_real_root_device_name
-Erik
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index b33b3c0..c8442f1 100644
--- a/utility.c
+++ b/utility.c
@@ -1529,7 +1529,7 @@ extern char *find_unused_loop_device(void)
}
#endif /* BB_FEATURE_MOUNT_LOOP */
-#if defined BB_MOUNT || defined BB_DF
+#if defined BB_MOUNT || defined BB_DF || ( defined BB_UMOUNT && ! defined BB_MTAB)
extern int find_real_root_device_name(char* name)
{
DIR *dir;