summaryrefslogtreecommitdiff
path: root/warnquota.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2004-05-24 19:39:15 +0000
committerjkar8572 <jkar8572>2004-05-24 19:39:15 +0000
commite1200421607be898a9c56618948c3f5e4e00781e (patch)
tree0d5c6787f879b8cd79c324683bdde037d26ac2b5 /warnquota.c
parent06ac151a68c668a8c4cee8a2a377b0ae93b99fb1 (diff)
Updated version to 3.12
Fixed a few memleaks Added two manpages Fixed problem with all-zero root structure
Diffstat (limited to 'warnquota.c')
-rw-r--r--warnquota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/warnquota.c b/warnquota.c
index bc4eacb..9eefa89 100644
--- a/warnquota.c
+++ b/warnquota.c
@@ -10,7 +10,7 @@
*
* Author: Marco van Wieringen <mvw@planets.elm.net>
*
- * Version: $Id: warnquota.c,v 1.20 2004/03/12 18:08:52 jkar8572 Exp $
+ * Version: $Id: warnquota.c,v 1.21 2004/05/24 19:39:15 jkar8572 Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -566,7 +566,7 @@ int get_quotatable(void)
}
line = 0;
- for (qtab_i = 0; quotatable = realloc(quotatable, sizeof(quotatable_t) * (qtab_i + 1)),
+ for (qtab_i = 0; quotatable = srealloc(quotatable, sizeof(quotatable_t) * (qtab_i + 1)),
fgets(buffer, sizeof(buffer), fp); qtab_i++) {
line++;
quotatable[qtab_i].devname = NULL;