summaryrefslogtreecommitdiff
path: root/edquota.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2003-07-29 20:11:35 +0000
committerjkar8572 <jkar8572>2003-07-29 20:11:35 +0000
commitc3e5a79f06cc0e8e5bc2886c374306cbb395ef27 (patch)
tree2ef3b7338397904cc7d5ddcd6c88ca6091d0ba3c /edquota.c
parent6e29c7a8854c14be88eb9c90b208e8402d3fdbdd (diff)
Fixed edquota -f option (Jan Kara)
Fixed warnquota formatting (Jan Kara) Added -s option (smart choice of units) to warnquota (Jan Kara) Updated documentation of quotactl call (Jan Kara)
Diffstat (limited to 'edquota.c')
-rw-r--r--edquota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/edquota.c b/edquota.c
index 64a3292..1bba6e1 100644
--- a/edquota.c
+++ b/edquota.c
@@ -34,7 +34,7 @@
#ident "$Copyright: (c) 1980, 1990 Regents of the University of California. $"
#ident "$Copyright: All rights reserved. $"
-#ident "$Id: edquota.c,v 1.12 2003/02/14 18:50:16 jkar8572 Exp $"
+#ident "$Id: edquota.c,v 1.13 2003/07/29 20:11:36 jkar8572 Exp $"
/*
* Disk quota editor.
@@ -148,7 +148,7 @@ int main(int argc, char **argv)
usage();
init_kernel_interface();
- handles = create_handle_list(0, dirname ? &dirname : NULL, quotatype, fmt, rflag ? 0 : IOI_LOCALONLY, 0);
+ handles = create_handle_list(dirname ? 1 : 0, dirname ? &dirname : NULL, quotatype, fmt, rflag ? 0 : IOI_LOCALONLY, 0);
if (!handles[0]) {
dispose_handle_list(handles);
fputs(_("No filesystems with quota detected.\n"), stderr);