patch-2.1.130 linux/drivers/net/hamradio/soundmodem/sm.c
Next file: linux/drivers/net/rtl8139.c
Previous file: linux/drivers/net/hamradio/hdlcdrv.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Nov 20 08:44:06 1998
- Orig file:
v2.1.129/linux/drivers/net/hamradio/soundmodem/sm.c
- Orig date:
Tue Jun 9 11:57:29 1998
diff -u --recursive --new-file v2.1.129/linux/drivers/net/hamradio/soundmodem/sm.c linux/drivers/net/hamradio/soundmodem/sm.c
@@ -554,17 +554,17 @@
cp = hi->data.modename;
while (*hwp) {
if ((*hwp)->hw_name)
- cp += sprintf("%s:,", (*hwp)->hw_name);
+ cp += sprintf(cp, "%s:,", (*hwp)->hw_name);
hwp++;
}
while (*mtp) {
if ((*mtp)->name)
- cp += sprintf(">%s,", (*mtp)->name);
+ cp += sprintf(cp, ">%s,", (*mtp)->name);
mtp++;
}
while (*mrp) {
if ((*mrp)->name)
- cp += sprintf("<%s,", (*mrp)->name);
+ cp += sprintf(cp, "<%s,", (*mrp)->name);
mrp++;
}
cp[-1] = '\0';
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov