net: warn about spaces in device names
authorMike Frysinger <vapier@gentoo.org>
Thu, 10 Jun 2010 02:10:48 +0000 (22:10 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 12 Jul 2010 07:14:28 +0000 (00:14 -0700)
commit1384f3bb8a4f9066805b70c1418eda78ecb73fdd
tree86d0d7a993c009da070dc562e620a03d86679281
parentf9abdfe0f27cccd67b4d7dd3e998e2a7a61119d7
net: warn about spaces in device names

Some commands operate on eth device names (like 'mii'), but those cannot
be passed on the command line as one argument.  So detect devices like
these and warn about them so someone will fix it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/eth.c