about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 9465bb5a0..19423fb63 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -1455,7 +1455,8 @@ bin_fc(char *nam, char **argv, Options ops, int func)
 		last = curhist - 1;
 		if (first > last) {
 		    unqueue_signals();
-		    zwarnnam("fc", "invalid use of current history line");
+		    zwarnnam("fc",
+		      "current history line would recurse endlessly, aborted");
 		    unlink(fil);
 		    return 1;
 		}