svn commit: r278641 - head/tools/tools/netmap
George V. Neville-Neil
gnn at FreeBSD.org
Thu Feb 12 23:00:32 UTC 2015
Author: gnn
Date: Thu Feb 12 23:00:31 2015
New Revision: 278641
URL: https://svnweb.freebsd.org/changeset/base/278641
Log:
Silence a warning.
Modified:
head/tools/tools/netmap/pkt-gen.c
Modified: head/tools/tools/netmap/pkt-gen.c
==============================================================================
--- head/tools/tools/netmap/pkt-gen.c Thu Feb 12 22:20:34 2015 (r278640)
+++ head/tools/tools/netmap/pkt-gen.c Thu Feb 12 23:00:31 2015 (r278641)
@@ -1817,7 +1817,7 @@ main(int arc, char **argv)
}
- if (g.ifname == NULL) {
+ if (strlen(g.ifname) <=0 ) {
D("missing ifname");
usage();
}
More information about the svn-src-all
mailing list