modify eggsh to always open /dev/REG which can be symlinked to the actual
[debian/gcpegg] / reg_orion.c
index c88ac38d0eb2cfa9a5167b4b4c04bbea75b4d324..b3985b850a5f8b36814ca1cdd211df7e08566e70 100644 (file)
@@ -97,7 +97,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) {