Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 03:01:58 +0000 (UTC)
From:      Sean Eric Fagan <sef@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r344998 - stable/12/lib/libutil
Message-ID:  <201903110301.x2B31waS041414@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903110301.x2B31waS041414>