Module Name: src
Committed By: dholland
Date: Mon Jan 30 19:19:55 UTC 2012
Modified Files:
src/lib/libquota: getufsquota.c
Log Message:
This will need its own compat copy of some of the strings from
quotaprop.h even after the latter goes away.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libquota/getufsquota.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libquota/getufsquota.c
diff -u src/lib/libquota/getufsquota.c:1.6 src/lib/libquota/getufsquota.c:1.7
--- src/lib/libquota/getufsquota.c:1.6 Mon Jan 9 15:31:11 2012
+++ src/lib/libquota/getufsquota.c Mon Jan 30 19:19:55 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: getufsquota.c,v 1.6 2012/01/09 15:31:11 dholland Exp $ */
+/* $NetBSD: getufsquota.c,v 1.7 2012/01/30 19:19:55 dholland Exp $ */
/*-
* Copyright (c) 2011 Manuel Bouyer
@@ -27,17 +27,20 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: getufsquota.c,v 1.6 2012/01/09 15:31:11 dholland Exp $");
+__RCSID("$NetBSD: getufsquota.c,v 1.7 2012/01/30 19:19:55 dholland Exp $");
#include <string.h>
#include <errno.h>
#include <quota/quota.h>
-#include <quota/quotaprop.h> /* for QUOTADICT_CLASS_* strings */
#include <quota.h>
#include "quotapvt.h"
+/* Some strings passed to getufsquota() and friends */
+#define QUOTADICT_CLASS_USER "user"
+#define QUOTADICT_CLASS_GROUP "group"
+
/*
* Return true if QV contains any actual information.
*