Fix umount dependency on find_real_root_device_name
authorErik Andersen <andersen@codepoet.org>
Mon, 8 May 2000 17:56:25 +0000 (17:56 -0000)
committerErik Andersen <andersen@codepoet.org>
Mon, 8 May 2000 17:56:25 +0000 (17:56 -0000)
 -Erik

utility.c

index b33b3c0b4d8d20b632581a4e14775bf305397814..c8442f1bae01a40896293cde4efa6cc67e4b906f 100644 (file)
--- 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;