diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/cmd/fs.d/ufs/quota/quota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/fs.d/ufs/quota/quota.c b/usr/src/cmd/fs.d/ufs/quota/quota.c index 615e3c8655..9cd622b7e1 100644 --- a/usr/src/cmd/fs.d/ufs/quota/quota.c +++ b/usr/src/cmd/fs.d/ufs/quota/quota.c @@ -289,8 +289,8 @@ showquotas(uid_t uid, char *name) */ if ((mntopt = hasmntopt(&mnt, MNTOPT_ZONE)) && (my_zonename[0] != '\0')) { - mntopt += strcspn(mntopt, "="); - if (strncmp(++mntopt, my_zonename, + mntopt += strcspn(mntopt, "=") + 1; + if (strncmp(mntopt, my_zonename, strcspn(mntopt, ",")) != 0) continue; } |