svn commit: r344998 - stable/12/lib/libutil

Sean Eric Fagan sef at FreeBSD.org
Mon Mar 11 03:02:03 UTC 2019


Author: sef
Date: Mon Mar 11 03:01:58 2019
New Revision: 344998
URL: https://svnweb.freebsd.org/changeset/base/344998

Log:
  MFC r343882
  
  r343881 had an uninitialized error.  This fixes that.
  
  PR:             233849

Modified:
  stable/12/lib/libutil/quotafile.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/libutil/quotafile.c
==============================================================================
--- stable/12/lib/libutil/quotafile.c	Mon Mar 11 03:00:33 2019	(r344997)
+++ stable/12/lib/libutil/quotafile.c	Mon Mar 11 03:01:58 2019	(r344998)
@@ -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)


More information about the svn-src-all mailing list