summaryrefslogtreecommitdiff
path: root/rquota_svc.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2002-03-27 16:21:26 +0000
committerjkar8572 <jkar8572>2002-03-27 16:21:26 +0000
commit5975341695e27f23f5a58758954d1ea31c2d0d25 (patch)
tree5bb3bac1bdc313edffa6552867c8954a5dfeaac7 /rquota_svc.c
parenta40b9d8688fe0f1f34c70a986d3e408273fed14e (diff)
downloadlinuxquota-5975341695e27f23f5a58758954d1ea31c2d0d25.tar.gz
Fixed bug in quota(1) return code.
Rewritten detection of kernel version. Added support for generic interface for both quota formats in kernel.
Diffstat (limited to 'rquota_svc.c')
-rw-r--r--rquota_svc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/rquota_svc.c b/rquota_svc.c
index 59a2ed0..c78dc05 100644
--- a/rquota_svc.c
+++ b/rquota_svc.c
@@ -12,7 +12,7 @@
* changes for new utilities by Jan Kara <jack@suse.cz>
* patches by Jani Jaakkola <jjaakkol@cs.helsinki.fi>
*
- * Version: $Id: rquota_svc.c,v 1.9 2001/09/26 12:26:11 jkar8572 Exp $
+ * Version: $Id: rquota_svc.c,v 1.10 2002/03/27 16:21:26 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
@@ -344,8 +344,7 @@ int main(int argc, char **argv)
progname = basename(argv[0]);
parse_options(argc, argv);
- warn_new_kernel(-1);
-
+ init_kernel_interface();
(void)pmap_unset(RQUOTAPROG, RQUOTAVERS);
(void)pmap_unset(RQUOTAPROG, EXT_RQUOTAVERS);