staging: usbip: stub_main.c: Cleaning up missing null-terminate in conjunction with...
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 26 Jul 2014 14:43:20 +0000 (16:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:43:01 +0000 (11:43 -0700)
commit96955ed6f0fc4a4bff319bf34ddad8d30a705dfe
tree102d01eda6524fc4ae607eddfb5afc6e82146e73
parent4c86db6aac80246ff801bba3f32517d6c2200137
staging: usbip: stub_main.c: Cleaning up missing null-terminate in conjunction with strncpy

Replacing strncpy with strlcpy to avoid strings that lacks null terminate.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/stub_main.c