summaryrefslogtreecommitdiffstats
path: root/usr.bin/quota/quota.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/quota/quota.c')
-rw-r--r--usr.bin/quota/quota.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c
index 7b0763d..503b43d 100644
--- a/usr.bin/quota/quota.c
+++ b/usr.bin/quota/quota.c
@@ -282,7 +282,7 @@ showquotas(int type, u_long id, const char *name)
struct quotause *quplist;
const char *msgi, *msgb;
const char *nam;
- char *bgrace, *igrace;
+ char *bgrace = NULL, *igrace = NULL;
int lines = 0, overquota = 0;
static time_t now;
@@ -391,10 +391,7 @@ showquotas(int type, u_long id, const char *name)
}
static void
-showrawquotas(type, id, qup)
- int type;
- u_long id;
- struct quotause *qup;
+showrawquotas(int type, u_long id, struct quotause *qup)
{
time_t tt;
printf("Raw %s quota information for id %lu on %s\n",
OpenPOWER on IntegriCloud