svn commit: r258589 - head/usr.sbin/bsdconfig/console

Devin Teske dteske at FreeBSD.org
Mon Nov 25 20:28:40 UTC 2013


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
 
 	#


More information about the svn-src-head mailing list