OSDN Git Service

isdn: isdn_tty: fix build warning of strncpy
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2019 17:06:23 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:04:52 +0000 (14:04 -0700)
commit47b002658f6cefb3db465910add7069b696935a0
tree6418e7aea049e815d90ca3d83031df0203666b50
parent675fd5a6814aade5ceb9f14e4eca9a3099fe922b
isdn: isdn_tty: fix build warning of strncpy

Not upstream as isdn is long deleted.

Fix up a strncpy build warning for isdn_tty_suspend() using strscpy.

It's not like anyone uses this code anyway, and this gets rid of a build
warnings so that we can see real warnings as they pop up over time.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/isdn/i4l/isdn_tty.c