summaryrefslogtreecommitdiff
path: root/rquota_svc.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-09-26 12:26:11 +0000
committerjkar8572 <jkar8572>2001-09-26 12:26:11 +0000
commit570ff1d772f4b2d0a73025c547e46e82ceb79eaa (patch)
tree56f536fb06c9557096635c05e00dfc8d9649ead1 /rquota_svc.c
parent48448ca24e00e530e59d774bfdb3c2a76616330c (diff)
downloadlinuxquota-570ff1d772f4b2d0a73025c547e46e82ceb79eaa.tar.gz
Fixed detection of RH 7.1 kernel not to make problems on older kernels.
Utilities now use shared locks when opening files read-only. Changed naming of Q_GETSTATS as they would be no longer in kernel.
Diffstat (limited to 'rquota_svc.c')
-rw-r--r--rquota_svc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rquota_svc.c b/rquota_svc.c
index 431a1dc..59a2ed0 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.8 2001/09/21 12:45:22 jkar8572 Exp $
+ * Version: $Id: rquota_svc.c,v 1.9 2001/09/26 12:26:11 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
@@ -101,7 +101,7 @@ static void parse_options(int argc, char **argv)
* good_client checks if an quota client should be allowed to
* execute the requested rpc call.
*/
-int good_client(struct sockaddr_in *addr, rpcproc_t rq_proc)
+int good_client(struct sockaddr_in *addr, ulong rq_proc)
{
#ifdef HOSTS_ACCESS
struct hostent *h;