diff options
author | anton <anton@cvs.openbsd.org> | 2018-03-15 16:51:30 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2018-03-15 16:51:30 +0000 |
commit | 4448b3fb909a1fbcd76ba467d09cca07b5335e52 (patch) | |
tree | 1f6d7338ff05a6f2081fd7d196053d84c5812fa0 /bin/ksh/edit.c | |
parent | 57a6d491335dbc3d0ac197975e564d55a18403f3 (diff) |
Favor usage of __func__ in warning/error messages. Some of them referred to the
wrong function and fix the rest for consistency.
Diff from Michael W. Bombardieri with some cosmetic cleanup applied.
ok benno@ tb@
Diffstat (limited to 'bin/ksh/edit.c')
-rw-r--r-- | bin/ksh/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index 9cfaa197d6a..d9ccc4a22d3 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.63 2018/01/16 22:52:32 jca Exp $ */ +/* $OpenBSD: edit.c,v 1.64 2018/03/15 16:51:29 anton Exp $ */ /* * Command line editing - common code @@ -372,7 +372,7 @@ x_file_glob(int flags, const char *str, int slen, char ***wordsp) source = s; if (yylex(ONEWORD|UNESCAPE) != LWORD) { source = sold; - internal_warningf("fileglob: substitute error"); + internal_warningf("%s: substitute error", __func__); return 0; } source = sold; |