Date: Sat, 23 Jan 2010 00:52:33 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r202859 - stable/8/usr.sbin/burncd Message-ID: <201001230052.o0N0qXb8045836@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sat Jan 23 00:52:32 2010 New Revision: 202859 URL: http://svn.freebsd.org/changeset/base/202859 Log: MFC r202709: Give the right value when complaining it being wrong. Reported by: danfe Modified: stable/8/usr.sbin/burncd/burncd.c Directory Properties: stable/8/usr.sbin/burncd/ (props changed) Modified: stable/8/usr.sbin/burncd/burncd.c ============================================================================== --- stable/8/usr.sbin/burncd/burncd.c Sat Jan 23 00:49:50 2010 (r202858) +++ stable/8/usr.sbin/burncd/burncd.c Sat Jan 23 00:52:32 2010 (r202859) @@ -151,7 +151,7 @@ main(int argc, char **argv) else speed = atoi(env_speed) * 177; if (speed <= 0) - errx(EX_USAGE, "Invalid speed: %s", optarg); + errx(EX_USAGE, "Invalid speed: %s", env_speed); if (argc == 0) usage();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001230052.o0N0qXb8045836>