Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 20:28:40 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258589 - head/usr.sbin/bsdconfig/console
Message-ID:  <201311252028.rAPKSe5I022371@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Mon Nov 25 20:28:39 2013
New Revision: 258589
URL: http://svnweb.freebsd.org/changeset/base/258589

Log:
  Add missing `$' before variable name `pgm'. Unnoticed unless running
  parallel concurrent copies of `bsdconfig syscons_ttys'.

Modified:
  head/usr.sbin/bsdconfig/console/ttys

Modified: head/usr.sbin/bsdconfig/console/ttys
==============================================================================
--- head/usr.sbin/bsdconfig/console/ttys	Mon Nov 25 20:20:34 2013	(r258588)
+++ head/usr.sbin/bsdconfig/console/ttys	Mon Nov 25 20:28:39 2013	(r258589)
@@ -113,7 +113,7 @@ ttys_set_type()
 	#
 	# Create new temporary file to write our ttys(5) update with new types.
 	#
-	local tmpfile="$( mktemp -t "pgm" )"
+	local tmpfile="$( mktemp -t "$pgm" )"
 	[ "$tmpfile" ] || return $FAILURE
 
 	#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311252028.rAPKSe5I022371>