summaryrefslogtreecommitdiff
path: root/quotaops.c
diff options
context:
space:
mode:
Diffstat (limited to 'quotaops.c')
-rw-r--r--quotaops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quotaops.c b/quotaops.c
index d42819a..83cf377 100644
--- a/quotaops.c
+++ b/quotaops.c
@@ -34,7 +34,7 @@
#ident "$Copyright: (c) 1980, 1990 Regents of the University of California. $"
#ident "$Copyright: All rights reserved. $"
-#ident "$Id: quotaops.c,v 1.18 2005/11/21 22:30:23 jkar8572 Exp $"
+#ident "$Id: quotaops.c,v 1.19 2006/05/13 01:05:24 jkar8572 Exp $"
#include <rpc/rpc.h>
#include <sys/types.h>
@@ -256,7 +256,7 @@ int writeprivs(struct dquot *qlist, int outfd, char *name, int quotatype)
#if defined(ALT_FORMAT)
fprintf(fd, _("Disk quotas for %s %s (%cid %d):\n"),
- type2name(quotatype), name, *type2name(quotatype), name2id(name, quotatype, NULL));
+ type2name(quotatype), name, *type2name(quotatype), qlist->dq_id);
fprintf(fd,
_(" Filesystem blocks soft hard inodes soft hard\n"));
@@ -440,7 +440,7 @@ int writeindividualtimes(struct dquot *qlist, int outfd, char *name, int quotaty
die(1, _("Cannot duplicate descriptor of file to write to: %s\n"), strerror(errno));
fprintf(fd, _("Times to enforce softlimit for %s %s (%cid %d):\n"),
- type2name(quotatype), name, *type2name(quotatype), name2id(name, quotatype, NULL));
+ type2name(quotatype), name, *type2name(quotatype), qlist->dq_id);
fprintf(fd, _("Time units may be: days, hours, minutes, or seconds\n"));
fprintf(fd,
_(" Filesystem block grace inode grace\n"));