modprobe: don't modify the modname string passed to do_modprobe
authorAndreas Robinson <andr345@gmail.com>
Sat, 3 Oct 2009 19:20:23 +0000 (21:20 +0200)
committerAndreas Robinson <andr345@gmail.com>
Sat, 3 Oct 2009 19:20:23 +0000 (21:20 +0200)
commit36b8d179a5ae4a3c2a27a869bcbfd535d7d4a2e0
treedfa708268486864e8ea56cfeedfa0fd8df5d6041
parent13256ef2df49f613ad6b7de7617001ed464229ff
modprobe: don't modify the modname string passed to do_modprobe

The function will work on a copy instead.

Signed-off-by: Andreas Robinson <andr345@gmail.com>
modprobe.c