X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2FWINNT%2Fafsd%2Ffs.c;h=3058a0b4c597c7565adbaeb2ebbde0e7e47032a8;hp=790a455fcbe327561021abab2519d476d61dc7a4;hb=54c0a3f3e6575fa5af39ddd797d5381c36b48001;hpb=2510a6ec675669739a625305bcc11ab2ad671122 diff --git a/src/WINNT/afsd/fs.c b/src/WINNT/afsd/fs.c index 790a455..3058a0b 100644 --- a/src/WINNT/afsd/fs.c +++ b/src/WINNT/afsd/fs.c @@ -1521,7 +1521,7 @@ SetVolCmd(struct cmd_syndesc *as, void *arock) { status->MinQuota = status->MaxQuota = -1; motd = offmsg = NULL; if (as->parms[1].items) { - code = util_GetInt32(as->parms[1].items->data, &status->MaxQuota); + code = util_GetHumanInt32(as->parms[1].items->data, &status->MaxQuota); if (code) { fprintf(stderr,"%s: bad integer specified for quota.\n", pn); error = 1; @@ -2444,7 +2444,7 @@ SetCacheSizeCmd(struct cmd_syndesc *as, void *arock) return 1; } if (as->parms[0].items) { - code = util_GetInt32(as->parms[0].items->data, &temp); + code = util_GetHumanInt32(as->parms[0].items->data, &temp); if (code) { fprintf(stderr,"%s: bad integer specified for cache size.\n", pn); return 1;