[2.5.70][PATCH][TRIVIAL][USB] usbaudio.c, usbmixer.c : fix

Andy Pfiffer (andyp@osdl.org)
29 May 2003 10:03:52 -0700


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or
higher.
# This patch includes the following deltas:
# ChangeSet 1.1428 -> 1.1429
# sound/usb/usbmixer.c 1.13 -> 1.14
# sound/usb/usbaudio.c 1.35 -> 1.36
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/29 andyp@andyp.pdx.osdl.net 1.1429
# Eliminate compile-time warnings.
# --------------------------------------------
#
diff -Nru a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
--- a/sound/usb/usbaudio.c Thu May 29 09:57:35 2003
+++ b/sound/usb/usbaudio.c Thu May 29 09:57:35 2003
@@ -2413,7 +2413,7 @@
}
}
if (len > 0)
- strlcat(card->longname, ' ', sizeof(card->longname));
+ strlcat(card->longname, " ", sizeof(card->longname));

len = strlen(card->longname);

diff -Nru a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c
--- a/sound/usb/usbmixer.c Thu May 29 09:57:35 2003
+++ b/sound/usb/usbmixer.c Thu May 29 09:57:35 2003
@@ -1191,7 +1191,7 @@
if (! len)
strlcpy(kctl->id.name, name, sizeof(kctl->id.name));
}
- strlcat(kctl->id.name, ' ', sizeof(kctl->id.name));
+ strlcat(kctl->id.name, " ", sizeof(kctl->id.name));
strlcat(kctl->id.name, valinfo->suffix, sizeof(kctl->id.name));

snd_printdd(KERN_INFO "[%d] PU [%s] ch = %d, val = %d/%d\n",

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/