Return to quota.c CVS log | Up to [local] / src / usr.bin / quota |
version 1.15, 2000/10/18 22:15:29 | version 1.16, 2000/10/18 23:05:16 | ||
---|---|---|---|
|
|
||
if (!ufshasquota(fs, quotatype, &qfpathname)) | if (!ufshasquota(fs, quotatype, &qfpathname)) | ||
return (0); | return (0); | ||
if (quotactl(fs->fs_file, qcmd, id, &qup->dqblk) != 0) { | if (quotactl(fs->fs_file, qcmd, id, (char *)&qup->dqblk) != 0) { | ||
if ((fd = open(qfpathname, O_RDONLY)) < 0) { | if ((fd = open(qfpathname, O_RDONLY)) < 0) { | ||
warn("%s", qfpathname); | warn("%s", qfpathname); | ||
return (0); | return (0); |