projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MPPE/MPPC kernel module
[openwrt-10.03/.git]
/
package
/
openwrt
/
trx.c
diff --git
a/package/openwrt/trx.c
b/package/openwrt/trx.c
index 05a6604e1cb51881c15a9d964fed8a1f8f7da4ed..d4ad600378ff99dfba2db36b99431311046420e2 100644
(file)
--- a/
package/openwrt/trx.c
+++ b/
package/openwrt/trx.c
@@
-180,11
+180,12
@@
int main(int argc, char **argv)
case 'b':
n = atoi(optarg);
if (n < cur_len) {
case 'b':
n = atoi(optarg);
if (n < cur_len) {
- fprintf(stderr, "WARNING: current length exceeds -b %d offset",n);
+ fprintf(stderr, "WARNING: current length exceeds -b %d offset
\n
",n);
} else {
memset(buf + cur_len, 0, n - cur_len);
cur_len = n;
}
} else {
memset(buf + cur_len, 0, n - cur_len);
cur_len = n;
}
+ break;
default:
usage();
}
default:
usage();
}