diff options
author | Jan Kara <jack@suse.cz> | 2012-08-20 19:21:33 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-08-20 19:21:33 +0200 |
commit | 21155868a845f498ce57f8033d1317397d6bf260 (patch) | |
tree | 7cd223b3909b53be67b7d155b505b846427f760c | |
parent | 8b6ce13e1b196cb9d0cc5b24dfc75c97a9eb883d (diff) | |
download | linuxquota-21155868a845f498ce57f8033d1317397d6bf260.tar.gz |
Fix compilation failure with --enable-bsd_behaviour=no
One variable declaration was missing when this config option was specified.
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | quotaops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++) { |