Module Name:    src
Committed By:   dholland
Date:           Tue Aug 14 04:53:43 UTC 2012

Modified Files:
        src/usr.sbin/edquota: edquota.c

Log Message:
Grr. The ATF quota tests demand failing silently in certain circumstances.
For netbsd-6 we will just have to go with the flow, as I'm not touching
anything outside edquota tonight.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/edquota/edquota.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/edquota/edquota.c
diff -u src/usr.sbin/edquota/edquota.c:1.51 src/usr.sbin/edquota/edquota.c:1.52
--- src/usr.sbin/edquota/edquota.c:1.51	Tue Aug 14 04:48:42 2012
+++ src/usr.sbin/edquota/edquota.c	Tue Aug 14 04:53:43 2012
@@ -1,4 +1,4 @@
-/*      $NetBSD: edquota.c,v 1.51 2012/08/14 04:48:42 dholland Exp $ */
+/*      $NetBSD: edquota.c,v 1.52 2012/08/14 04:53:43 dholland Exp $ */
 /*
  * Copyright (c) 1980, 1990, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -41,7 +41,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static char sccsid[] = "from: @(#)edquota.c	8.3 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: edquota.c,v 1.51 2012/08/14 04:48:42 dholland Exp $");
+__RCSID("$NetBSD: edquota.c,v 1.52 2012/08/14 04:53:43 dholland Exp $");
 #endif
 #endif /* not lint */
 
@@ -579,7 +579,8 @@ getprivs(long id, int defaultq, int idty
 		qup = getprivs2(id, idtype, fst[i].f_mntonname, defaultq,
 				&qlist->idtypename);
 		if (qup == NULL) {
-			warn("Reading quotas failed for id %ld", id);
+			/* XXX the atf tests demand failing silently */
+			/*warn("Reading quotas failed for id %ld", id);*/
 			continue;
 		}
 

Reply via email to