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

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) {