summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko2008-02-09 11:39:00 +0000
committerDenis Vlasenko2008-02-09 11:39:00 +0000
commit68e8e96d7fba018b5b2354434fe0ae95fdfffc4f (patch)
tree92a68cff167a3fcf3cf3029543502707cfd50912 /miscutils
parentd56e3ccf960a6773ea7939811728f1942cc493ac (diff)
downloadbusybox-68e8e96d7fba018b5b2354434fe0ae95fdfffc4f.zip
busybox-68e8e96d7fba018b5b2354434fe0ae95fdfffc4f.tar.gz
microcom: compile fixes
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/microcom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/miscutils/microcom.c b/miscutils/microcom.c
index 52baaca..817ef55 100644
--- 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 */