Dr. Werner Fink 2011-02-08 19:02:52 +00:00 committed by Git OBS Bridge
parent c69d663e7f
commit ff7819056d

View File

@ -553,7 +553,7 @@
+ mntinfo_t *mnt = list_entry(ptr, mntinfo_t);
+ if (nlen < mnt->nlen)
+ continue;
+ if (use[mnt->nlen] != '\0' && use[mnt->nlen] != '/')
+ if (mnt->nlen > 1 && use[mnt->nlen] != '\0' && use[mnt->nlen] != '/')
+ continue;
+ if (strncmp(use, mnt->mpoint, mnt->nlen) == 0)
+ return mnt->dev;