Author: sef
Date: Thu Feb  7 22:10:20 2019
New Revision: 343882
URL: https://svnweb.freebsd.org/changeset/base/343882

Log:
  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

Modified:
  head/lib/libutil/quotafile.c

Modified: head/lib/libutil/quotafile.c
==============================================================================
--- head/lib/libutil/quotafile.c        Thu Feb  7 21:51:39 2019        
(r343881)
+++ head/lib/libutil/quotafile.c        Thu Feb  7 22:10:20 2019        
(r343882)
@@ -118,7 +118,7 @@ quota_open(struct fstab *fs, int quotatype, int openfl
        struct dqhdr64 dqh;
        struct group *grp;
        struct stat st;
-       int qcmd, serrno;
+       int qcmd, serrno = 0;
        int ufs;
 
        if ((qf = calloc(1, sizeof(*qf))) == NULL)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to