Date: Thu, 12 Feb 2015 23:00:32 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r278641 - head/tools/tools/netmap Message-ID: <201502122300.t1CN0WXK060079@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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(); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502122300.t1CN0WXK060079>