From owner-svn-src-user@FreeBSD.ORG Tue Apr 22 11:02:38 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 14E3ABEF; Tue, 22 Apr 2014 11:02:38 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 020541719; Tue, 22 Apr 2014 11:02:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3MB2bc6081014; Tue, 22 Apr 2014 11:02:37 GMT (envelope-from pho@svn.freebsd.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3MB2bG8081013; Tue, 22 Apr 2014 11:02:37 GMT (envelope-from pho@svn.freebsd.org) Message-Id: <201404221102.s3MB2bG8081013@svn.freebsd.org> From: Peter Holm Date: Tue, 22 Apr 2014 11:02:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r264759 - 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: Tue, 22 Apr 2014 11:02:38 -0000 Author: pho Date: Tue Apr 22 11:02:37 2014 New Revision: 264759 URL: http://svnweb.freebsd.org/changeset/base/264759 Log: Fix typo in warn(3). Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/dup2.sh Modified: user/pho/stress2/misc/dup2.sh ============================================================================== --- user/pho/stress2/misc/dup2.sh Tue Apr 22 10:41:15 2014 (r264758) +++ user/pho/stress2/misc/dup2.sh Tue Apr 22 11:02:37 2014 (r264759) @@ -59,7 +59,7 @@ main(void) fd2 = arc4random() % 1000000; if (dup2(1, fd2) == -1) { if (errno != EBADF) { - warn("dup2(2, %d)", fd2); + warn("dup2(1, %d)", fd2); error = 1; break; }