svn commit: r253800 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Tue Jul 30 11:31:19 UTC 2013


Author: pho
Date: Tue Jul 30 11:31:18 2013
New Revision: 253800
URL: http://svnweb.freebsd.org/changeset/base/253800

Log:
  Use consistent file name and initialize variable "e".
  
  Sponsored by:	EMC / Isilon storage division

Modified:
  user/pho/stress2/misc/linger4.sh

Modified: user/pho/stress2/misc/linger4.sh
==============================================================================
--- user/pho/stress2/misc/linger4.sh	Tue Jul 30 10:37:11 2013	(r253799)
+++ user/pho/stress2/misc/linger4.sh	Tue Jul 30 11:31:18 2013	(r253800)
@@ -36,8 +36,8 @@
 
 here=`pwd`
 cd /tmp
-sed '1,/^EOF/d' < $here/$0 > linger3.c
-cc -o linger4 -Wall -Wextra -O2 linger3.c
+sed '1,/^EOF/d' < $here/$0 > linger4.c
+cc -o linger4 -Wall -Wextra -O2 linger4.c
 rm -f linger4.c
 
 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint
@@ -129,6 +129,7 @@ main()
 {
 	int e, i, j, status;
 
+	e = 0;
 	for (j = 0; j < 300; j++) {
 		for (i = 0; i < PARALLEL; i++) {
 			if (fork() == 0)


More information about the svn-src-user mailing list