From 4bbbd2dde653207e68f1369adfa4c19032e6610f Mon Sep 17 00:00:00 2001 From: xzfc Date: Wed, 9 Jul 2014 04:05:04 +0700 Subject: [PATCH] Fix segfault in status builtin --- builtin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin.cpp b/builtin.cpp index bf61b40b5..a7b173bb2 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -2670,7 +2670,7 @@ static int builtin_status(parser_t &parser, wchar_t **argv) { append_format(stderr_buffer, L"%ls: Invalid job control mode '%ls'\n", - woptarg); + L"status", woptarg); res = 1; } mode = DONE;