From: Colin Ian King Date: Sat, 26 May 2018 15:11:00 +0000 (+0100) Subject: ALSA: seq: fix spelling mistake "Unamed" -> "Unnamed" X-Git-Tag: v4.18-rc1~15^2~17^2~22 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6231a895f537959fecbc5d5f7558dabfa3b76d47;p=uclinux-h8%2Flinux.git ALSA: seq: fix spelling mistake "Unamed" -> "Unnamed" Trivial fix to spelling mistake in string Signed-off-by: Colin Ian King Signed-off-by: Takashi Iwai --- diff --git a/sound/core/seq/seq_ports.c b/sound/core/seq/seq_ports.c index d21ece9f8d73..24d90abfc64d 100644 --- a/sound/core/seq/seq_ports.c +++ b/sound/core/seq/seq_ports.c @@ -669,7 +669,7 @@ int snd_seq_event_port_attach(int client, /* Set up the port */ memset(&portinfo, 0, sizeof(portinfo)); portinfo.addr.client = client; - strlcpy(portinfo.name, portname ? portname : "Unamed port", + strlcpy(portinfo.name, portname ? portname : "Unnamed port", sizeof(portinfo.name)); portinfo.capability = cap;