Fix error message content.

Approved by:	julian (mentor)
MFC after:	3 days
This commit is contained in:
Marko Zec 2008-09-21 07:33:33 +00:00
parent 3627e32112
commit 3ac12c597e

View File

@ -616,7 +616,7 @@ ng_source_store_output_ifp(sc_p sc, char *ifname)
ifp = ifunit(ifname);
if (ifp == NULL) {
printf("%s: can't find interface %d\n", __func__, V_if_index);
printf("%s: can't find interface %s\n", __func__, ifname);
return (EINVAL);
}
sc->output_ifp = ifp;