forked from pool/psmisc
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=30
This commit is contained in:
parent
c69d663e7f
commit
ff7819056d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user