Fix segfault in status builtin

This commit is contained in:
xzfc 2014-07-09 04:05:04 +07:00 committed by David Adam
parent b884117a9e
commit 4bbbd2dde6

View file

@ -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;