Date: Sat, 23 Jan 2010 00:53:03 +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-7@freebsd.org Subject: svn commit: r202860 - stable/7/usr.sbin/burncd Message-ID: <201001230053.o0N0r3tu046039@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sat Jan 23 00:53:03 2010 New Revision: 202860 URL: http://svn.freebsd.org/changeset/base/202860 Log: MFC r202709: Give the right value when complaining it being wrong. Reported by: danfe Modified: stable/7/usr.sbin/burncd/burncd.c Directory Properties: stable/7/usr.sbin/burncd/ (props changed) Modified: stable/7/usr.sbin/burncd/burncd.c ============================================================================== --- stable/7/usr.sbin/burncd/burncd.c Sat Jan 23 00:52:32 2010 (r202859) +++ stable/7/usr.sbin/burncd/burncd.c Sat Jan 23 00:53:03 2010 (r202860) @@ -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?201001230053.o0N0r3tu046039>