diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
commit | 78c388aed2b7184182c08428db1de6c872d815f5 (patch) | |
tree | 4b2003b1b4ceb241a17faa995da8dd1004bb8e45 /drivers/net/hamradio/soundmodem | |
parent | eb7a5bf93aaa4be1d7c6181100ab7639e74d67f7 (diff) |
Merge with Linux 2.1.131 and more MIPS goodies.
(Did I mention that CVS is buggy ...)
Diffstat (limited to 'drivers/net/hamradio/soundmodem')
-rw-r--r-- | drivers/net/hamradio/soundmodem/sm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/hamradio/soundmodem/sm.c b/drivers/net/hamradio/soundmodem/sm.c index fbfbb7e36..d1760af4b 100644 --- a/drivers/net/hamradio/soundmodem/sm.c +++ b/drivers/net/hamradio/soundmodem/sm.c @@ -554,17 +554,17 @@ static int sm_ioctl(struct device *dev, struct ifreq *ifr, 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'; |