diff options
Diffstat (limited to 'usr.sbin/repquota/repquota.c')
-rw-r--r-- | usr.sbin/repquota/repquota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c index df68703913c..8376bea3210 100644 --- a/usr.sbin/repquota/repquota.c +++ b/usr.sbin/repquota/repquota.c @@ -320,7 +320,7 @@ addid(uid_t id, int type, char *name) len = strlen(name); else len = 10; - if ((fup = (struct fileusage *)calloc(1, sizeof(*fup) + len)) == NULL) { + if ((fup = calloc(1, sizeof(*fup) + len)) == NULL) { fprintf(stderr, "out of memory for fileusage structures\n"); exit(1); } |