modify eggsh to always open /dev/REG which can be symlinked to the actual
[debian/gcpegg] / reg_pear.c
index 7bb7c5ca25a658ccbdbbf1aa82fe2d93094f44a2..0ff329959eb4735ff53c52f09a403bd1adda84f9 100644 (file)
@@ -77,7 +77,7 @@ static int32 OpenDev(DevOpts *opts) {
   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) {