projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: initial stab at brace expansion support
[oweals/busybox.git]
/
miscutils
/
microcom.c
diff --git
a/miscutils/microcom.c
b/miscutils/microcom.c
index a322197b83ad411e088ba4efa759dfda66e35f1e..fe6661f00f316537e6bf4ced6356941e66455ad7 100644
(file)
--- a/
miscutils/microcom.c
+++ b/
miscutils/microcom.c
@@
-92,7
+92,7
@@
int microcom_main(int argc UNUSED_PARAM, char **argv)
sfd = open_or_warn(argv[0], O_RDWR | O_NOCTTY | O_NONBLOCK);
if (sfd < 0)
goto done;
- fcntl(sfd, F_SETFL,
0
);
+ fcntl(sfd, F_SETFL,
O_RDWR
);
// put device to "raw mode"
xget1(sfd, &tio, &tiosfd);