[2845] in Release_Engineering
7.4 quota: another patch
daemon@ATHENA.MIT.EDU (Richard Basch)
Fri May 29 21:19:43 1992
Date: Fri, 29 May 92 21:19:16 -0400
To: rel-eng@MIT.EDU
Cc: testers@MIT.EDU
From: "Richard Basch" <basch@MIT.EDU>
There was some complaint about the wording in "quota". The following is
more accurate, in terms of being "gender-free" and not saying the user
has used so much of the quota.
-Richard
*** afs.c Fri May 29 15:47:35 1992
--- afs.c Fri May 29 21:13:59 1992
***************
*** 117,123 ****
putwarning(buf);
}
else if (vs->MaxQuota && (vs->BlocksInUse >= vs->MaxQuota * 9 / 10)) {
! sprintf(buf,"User %s has used %d%% of his disk quota on %s\n", name,
(int)((vs->BlocksInUse*100.0/vs->MaxQuota)+0.5), path);
putwarning(buf);
}
--- 117,123 ----
putwarning(buf);
}
else if (vs->MaxQuota && (vs->BlocksInUse >= vs->MaxQuota * 9 / 10)) {
! sprintf(buf,"Warning: %d%% of the disk quota on %s has been used.\n",
(int)((vs->BlocksInUse*100.0/vs->MaxQuota)+0.5), path);
putwarning(buf);
}