From owner-svn-src-user@FreeBSD.ORG Wed Mar 19 10:15:37 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCC43A9B; Wed, 19 Mar 2014 10:15:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AA02E61; Wed, 19 Mar 2014 10:15:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2JAFbpN071618; Wed, 19 Mar 2014 10:15:37 GMT (envelope-from pho@svn.freebsd.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2JAFbIL071617; Wed, 19 Mar 2014 10:15:37 GMT (envelope-from pho@svn.freebsd.org) Message-Id: <201403191015.s2JAFbIL071617@svn.freebsd.org> From: Peter Holm Date: Wed, 19 Mar 2014 10:15:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r263339 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 10:15:37 -0000 Author: pho Date: Wed Mar 19 10:15:37 2014 New Revision: 263339 URL: http://svnweb.freebsd.org/changeset/base/263339 Log: Initialize variable before test. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/rename12.sh Modified: user/pho/stress2/misc/rename12.sh ============================================================================== --- user/pho/stress2/misc/rename12.sh Wed Mar 19 10:14:17 2014 (r263338) +++ user/pho/stress2/misc/rename12.sh Wed Mar 19 10:15:37 2014 (r263339) @@ -140,6 +140,7 @@ rm(void) setproctitle("rm"); pid = crpid; + i = 0; while (i != n - 1 && read(rmpipe[0], &i, sizeof(i)) == sizeof(i)) { snprintf(to, sizeof(to ), "dir2/d.%06d.%06d", pid, i);