diff options
author | anton <anton@cvs.openbsd.org> | 2020-12-01 18:47:26 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2020-12-01 18:47:26 +0000 |
commit | e1c74a1dad15e7c8fb6eb7b5e12974fc7932a3d3 (patch) | |
tree | a4b76e9b8c2ad93b52bd6a88e73a1826e8f67104 | |
parent | b831f0e4acc64191e8d711b39f84202fc617ae8b (diff) |
The print() function only accepts a single argument.
ok mpi@
-rw-r--r-- | usr.sbin/btrace/bt_parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/btrace/bt_parse.y b/usr.sbin/btrace/bt_parse.y index 6c73db4730d..bfad8f779db 100644 --- a/usr.sbin/btrace/bt_parse.y +++ b/usr.sbin/btrace/bt_parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: bt_parse.y,v 1.17 2020/09/14 18:45:19 jasper Exp $ */ +/* $OpenBSD: bt_parse.y,v 1.18 2020/12/01 18:47:25 anton Exp $ */ /* * Copyright (c) 2019 - 2020 Martin Pieuchot <mpi@openbsd.org> @@ -579,7 +579,7 @@ lookup(char *s) { "min", MOP1, B_AT_MF_MIN }, { "nsecs", BUILTIN, B_AT_BI_NSECS }, { "pid", PID, 0 /*B_AT_BI_PID*/ }, - { "print", FUNCN, B_AC_PRINT }, + { "print", FUNC1, B_AC_PRINT }, { "printf", FUNCN, B_AC_PRINTF }, { "retval", BUILTIN, B_AT_BI_RETVAL }, { "sum", MOP1, B_AT_MF_SUM }, |