Module Name: src
Committed By: matt
Date: Thu Feb 2 03:01:42 UTC 2012
Modified Files:
src/usr.sbin/quotactl: proplib-interpreter.c
Log Message:
Make this compile on vax (uninitialized use warning).
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/quotactl/proplib-interpreter.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/quotactl/proplib-interpreter.c
diff -u src/usr.sbin/quotactl/proplib-interpreter.c:1.3 src/usr.sbin/quotactl/proplib-interpreter.c:1.4
--- src/usr.sbin/quotactl/proplib-interpreter.c:1.3 Mon Jan 30 19:31:31 2012
+++ src/usr.sbin/quotactl/proplib-interpreter.c Thu Feb 2 03:01:42 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: proplib-interpreter.c,v 1.3 2012/01/30 19:31:31 dholland Exp $ */
+/* $NetBSD: proplib-interpreter.c,v 1.4 2012/02/02 03:01:42 matt Exp $ */
/*
* Copyright (c) 1991, 1993, 1994
@@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: proplib-interpreter.c,v 1.3 2012/01/30 19:31:31 dholland Exp $");
+__RCSID("$NetBSD: proplib-interpreter.c,v 1.4 2012/02/02 03:01:42 matt Exp $");
#include <stdlib.h>
#include <string.h>
@@ -606,6 +606,7 @@ vfs_quotactl_getall(struct quotahandle *
num = quotacursor_getn(cursor, keys, vals, loopmax);
if (num < 0) {
error = errno;
+ loopnum = -1;
} else {
error = 0;
loopnum = num;