net: fix error reporting for some net parameter checks
commitc8decae2e135d2331268619aa07701c31595b6c9
authorMark McLoughlin <markmc@redhat.com>
Thu, 28 May 2009 15:39:54 +0000 (28 16:39 +0100)
committerMark McLoughlin <markmc@redhat.com>
Tue, 9 Jun 2009 10:38:49 +0000 (9 11:38 +0100)
tree8ba8ee727e7560f3815fcc644a6598f442cebe44
parent0aa7a205c899c516d906673efbe9457f7af0dd3c
net: fix error reporting for some net parameter checks

A small bit of confusion between buffers is causing errors like:

  qemu: invalid parameter '10' in 'script=/etc/qemu-ifup,fd=10'

instead of:

  qemu: invalid parameter 'script' in 'script=/etc/qemu-ifup,fd=10'

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
net.c