diff --git a/tcpdump.c b/tcpdump.c index 6e6dc29c..92b76c40 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -1162,7 +1162,7 @@ parse_interface_number(const char *device) /* * No, it's not an ordinal. */ - error("Invalid adapter index"); + error("Invalid adapter index %s", device); } return (devnum); } else {