From 21155868a845f498ce57f8033d1317397d6bf260 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Mon, 20 Aug 2012 19:21:33 +0200 Subject: Fix compilation failure with --enable-bsd_behaviour=no One variable declaration was missing when this config option was specified. Signed-off-by: Jan Kara --- quotaops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quotaops.c') diff --git a/quotaops.c b/quotaops.c index d4699f4..1416015 100644 --- a/quotaops.c +++ b/quotaops.c @@ -91,11 +91,11 @@ struct dquot *getprivs(qid_t id, struct quota_handle **handles, int quiet) { struct dquot *q, *qtail = NULL, *qhead = NULL; int i; + char name[MAXNAMELEN]; #if defined(BSD_BEHAVIOUR) int j, ngroups; uid_t euid; gid_t gidset[NGROUPS], *gidsetp; - char name[MAXNAMELEN]; #endif for (i = 0; handles[i]; i++) { -- cgit v1.2.3