projects
/
debian
/
gcpegg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modify eggsh to always open /dev/REG which can be symlinked to the actual
[debian/gcpegg]
/
reg_pear.c
diff --git
a/reg_pear.c
b/reg_pear.c
index 7bb7c5ca25a658ccbdbbf1aa82fe2d93094f44a2..0ff329959eb4735ff53c52f09a403bd1adda84f9 100644
(file)
--- a/
reg_pear.c
+++ b/
reg_pear.c
@@
-77,7
+77,7
@@
static int32 OpenDev(DevOpts *opts) {
sprintf(ttydev, "/dev/term/%c", 'a' + (opts->port - 1));
#endif
#else
sprintf(ttydev, "/dev/term/%c", 'a' + (opts->port - 1));
#endif
#else
- sprintf(ttydev, "/dev/
ttyS%d
", opts->port);
+ sprintf(ttydev, "/dev/
REG
", opts->port);
#endif
switch(opts->baud) {
#endif
switch(opts->baud) {