summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-05 19:29:59 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-05 19:29:59 +0000
commit89bc256c9480a137a2286b5b16ff4207e35659e5 (patch)
treece9511f09c0da7277cf44f38197b8548b9c79aa0 /utility.c
parentf7cf2f7ef98077c59e4da4bc25de38c22174ac9d (diff)
downloadbusybox-w32-89bc256c9480a137a2286b5b16ff4207e35659e5.tar.gz
busybox-w32-89bc256c9480a137a2286b5b16ff4207e35659e5.tar.bz2
busybox-w32-89bc256c9480a137a2286b5b16ff4207e35659e5.zip
Remove misguided klude around for 2.4.x-test* brokenness. Al Viro
will be removing this stuff from /proc/mounts real soon now I am assured. -Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/utility.c b/utility.c
index f3af01f44..afc0e8f8a 100644
--- a/utility.c
+++ b/utility.c
@@ -1199,9 +1199,6 @@ extern struct mntent *findMountPoint(const char *name, const char *table)
1199 return 0; 1199 return 0;
1200 1200
1201 while ((mountEntry = getmntent(mountTable)) != 0) { 1201 while ((mountEntry = getmntent(mountTable)) != 0) {
1202 if (strcmp(mountEntry->mnt_fsname, "none") == 0) {
1203 continue;
1204 }
1205 if (strcmp(name, mountEntry->mnt_dir) == 0 1202 if (strcmp(name, mountEntry->mnt_dir) == 0
1206 || strcmp(name, mountEntry->mnt_fsname) == 0) /* String match. */ 1203 || strcmp(name, mountEntry->mnt_fsname) == 0) /* String match. */
1207 break; 1204 break;