o Pass a correct argument to errx(3).

PR:		bin/61846
Submitted by:	Eugene Grosbein
MFC after:	1 week
This commit is contained in:
Maxim Konovalov 2004-01-24 19:20:09 +00:00
parent 8afe6f9797
commit 66d217f8db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124924

View File

@ -2417,7 +2417,7 @@ config_pipe(int ac, char **av)
break;
default:
errx(EX_DATAERR, "unrecognised option ``%s''", *av);
errx(EX_DATAERR, "unrecognised option ``%s''", av[-1]);
}
}
if (do_pipe == 1) {