summaryrefslogtreecommitdiff
path: root/usr.bin/awk/tran.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2023-10-30 17:52:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2023-10-30 17:52:55 +0000
commit54c1e5ca07f936bf87bc6646d44f75d525b9ee04 (patch)
treeb8eb11aeb9020c61c97110e081a4526d864fda88 /usr.bin/awk/tran.c
parente990b99d5b5babac1d0060e736705459b658430e (diff)
Minor cosmetic changes to make our awk match my github branch.
Diffstat (limited to 'usr.bin/awk/tran.c')
-rw-r--r--usr.bin/awk/tran.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/tran.c b/usr.bin/awk/tran.c
index 0456aed983f..c2bb1e0227e 100644
--- a/usr.bin/awk/tran.c
+++ b/usr.bin/awk/tran.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tran.c,v 1.37 2023/09/17 14:49:44 millert Exp $ */
+/* $OpenBSD: tran.c,v 1.38 2023/10/30 17:52:54 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -120,7 +120,7 @@ void arginit(int ac, char **av) /* set up ARGV and ARGC */
for (i = 0; i < ac; i++) {
double result;
- snprintf(temp, sizeof temp, "%d", i);
+ snprintf(temp, sizeof(temp), "%d", i);
if (is_number(*av, & result))
setsymtab(temp, *av, result, STR|NUM, ARGVtab);
else