From be34885e2a7f72ac497d63fa935541b3efbd35af Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Tue, 13 Dec 2016 02:12:00 +0000 Subject: [PATCH] Neither printf (and as is commonly known) nor print need parens in awk --- usr.sbin/bsdinstall/scripts/wlanconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig index 9b26196d551d..eecee25529b7 100755 --- a/usr.sbin/bsdinstall/scripts/wlanconfig +++ b/usr.sbin/bsdinstall/scripts/wlanconfig @@ -278,7 +278,7 @@ while :; do done [ "$ENCRYPTION" ] || ENCRYPTION=$( echo "$NETWORKS" | - awk -F '\t' "/^\"$NETWORK\"\t/ { printf(\"%s\n\", \\\$2 ) }" ) + awk -F '\t' "/^\"$NETWORK\"\t/ { printf \"%s\n\", \\\$2 }" ) if echo $ENCRYPTION | grep -q 'PSK'; then PASS=$( $DIALOG \