r343881 had an uninitialized error. This fixes that.

PR:             233849
Reported by:    Andre Albsmeier
MFC after:      1 month
Sponsored by:   iXsystems Inc
Differential Revision:  https://reviews.freebsd.org/D18785
This commit is contained in:
sef 2019-02-07 22:10:20 +00:00
parent 839aca8032
commit a652771388

View File

@ -118,7 +118,7 @@ quota_open(struct fstab *fs, int quotatype, int openflags)
struct dqhdr64 dqh; struct dqhdr64 dqh;
struct group *grp; struct group *grp;
struct stat st; struct stat st;
int qcmd, serrno; int qcmd, serrno = 0;
int ufs; int ufs;
if ((qf = calloc(1, sizeof(*qf))) == NULL) if ((qf = calloc(1, sizeof(*qf))) == NULL)