From 5975341695e27f23f5a58758954d1ea31c2d0d25 Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Wed, 27 Mar 2002 16:21:26 +0000 Subject: Fixed bug in quota(1) return code. Rewritten detection of kernel version. Added support for generic interface for both quota formats in kernel. --- rquota_svc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'rquota_svc.c') 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 * patches by Jani Jaakkola * - * 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); -- cgit v1.2.1