Date: Wed, 19 Mar 2014 10:15:37 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r263339 - user/pho/stress2/misc Message-ID: <201403191015.s2JAFbIL071617@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403191015.s2JAFbIL071617>