teach find_root_device to deal with /dev/ subdirs

(by "Kirill K. Smirnov" <lich@math.spbu.ru>)
This commit is contained in:
Denis Vlasenko committed 2007-04-13 23:59:52 +00:00
1 parent 334fa9bcb5
commit 16abcd90ae
9 files changed
+71 -27

No files matched your search

+2 -1
View File
@@ -2293,7 +2293,8 @@ updatepwd(const char *dir)
break;
}
break;
} else if (p[1] == '\0')
}
if (p[1] == '\0')
break;
/* fall through */
default: