summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2017-09-15 14:19:56 +0000
committerajacoutot <ajacoutot@openbsd.org>2017-09-15 14:19:56 +0000
commit0324e72b38be661503c6648d4b5ab03a996cd7fa (patch)
tree6381a32247120ab84a48e40c4b500f6a1027e71e
parentClean up pf rules and states on remote machine so that they do not (diff)
downloadwireguard-openbsd-0324e72b38be661503c6648d4b5ab03a996cd7fa.tar.xz
wireguard-openbsd-0324e72b38be661503c6648d4b5ab03a996cd7fa.zip
Fix bitwise operations error messages; from FreeBSD
ok deraadt@
-rw-r--r--usr.bin/awk/run.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/awk/run.c b/usr.bin/awk/run.c
index 26825fd6a42..4b83b463937 100644
--- a/usr.bin/awk/run.c
+++ b/usr.bin/awk/run.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: run.c,v 1.40 2015/12/16 19:44:42 tb Exp $ */
+/* $OpenBSD: run.c,v 1.41 2017/09/15 14:19:56 ajacoutot Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -1545,7 +1545,7 @@ Cell *bltin(Node **a, int n) /* builtin functions. a[0] is type, a[1] is arg lis
break;
case FXOR:
if (nextarg == 0) {
- WARNING("or requires two arguments; returning 0");
+ WARNING("xor requires two arguments; returning 0");
u = 0;
break;
}
@@ -1556,7 +1556,7 @@ Cell *bltin(Node **a, int n) /* builtin functions. a[0] is type, a[1] is arg lis
break;
case FLSHIFT:
if (nextarg == 0) {
- WARNING("or requires two arguments; returning 0");
+ WARNING("lshift requires two arguments; returning 0");
u = 0;
break;
}
@@ -1567,7 +1567,7 @@ Cell *bltin(Node **a, int n) /* builtin functions. a[0] is type, a[1] is arg lis
break;
case FRSHIFT:
if (nextarg == 0) {
- WARNING("or requires two arguments; returning 0");
+ WARNING("rshift requires two arguments; returning 0");
u = 0;
break;
}