diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-22 00:03:19 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-22 19:54:47 -0800 |
commit | 0117cfabe3ba9b430c6ff6eecd4fdc569977f24f (patch) | |
tree | 9a312a491177562110bc91279809746883624bcc /net/ipv4 | |
parent | 01af4a0e3cce86212f6bf54ebe8f84d7219c862a (diff) |
snap: handle registration error and compile warning
If this module can't load, it is almost certainly because something else
is already bound to that SAP. So in that case, return the same error code
as other SAP usage, and fail the module load.
Also fixes a compiler warning about printk of non const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions