projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d56e3cc
)
microcom: compile fixes
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 9 Feb 2008 11:39:00 +0000
(11:39 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 9 Feb 2008 11:39:00 +0000
(11:39 -0000)
miscutils/microcom.c
patch
|
blob
|
history
diff --git
a/miscutils/microcom.c
b/miscutils/microcom.c
index 52baaca511b15ec694a706b6831eaa757f2d7b07..817ef55ac292e0e89ec55f4f5979b6388e8da3ca 100644
(file)
--- a/
miscutils/microcom.c
+++ b/
miscutils/microcom.c
@@
-51,8
+51,8
@@
int microcom_main(int argc, char **argv)
enum {
OPT_X = 1 << 0, // do not respect Ctrl-X, Ctrl-@
OPT_s = 1 << 1, // baudrate
- OPT_d = 1 << 2
// wait for device response, msecs
- OPT_t = 1 << 3
// timeout, ms
+ OPT_d = 1 << 2
,
// wait for device response, msecs
+ OPT_t = 1 << 3
,
// timeout, ms
};
speed_t speed = 9600;
int delay = -1;
@@
-60,6
+60,7
@@
int microcom_main(int argc, char **argv)
// fetch options
char *opt_s;
+ char *opt_d;
char *opt_t;
unsigned opts;
opt_complementary = "=1"; /* exactly one arg should be there */