diff options
Diffstat (limited to 'libexec/rpc.rquotad/rquotad.c')
-rw-r--r-- | libexec/rpc.rquotad/rquotad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c index cc7aaf9ebce..315ed9a9fdb 100644 --- a/libexec/rpc.rquotad/rquotad.c +++ b/libexec/rpc.rquotad/rquotad.c @@ -313,7 +313,7 @@ hasquota(fs, qfnamep) } strcpy(buf, fs->fs_mntops); for (opt = strtok(buf, ","); opt; opt = strtok(NULL, ",")) { - if (cp = index(opt, '=')) + if (cp = strchr(opt, '=')) *cp++ = '\0'; if (strcmp(opt, usrname) == 0) break; |