diff options
Diffstat (limited to 'libntp/icom.c')
-rw-r--r-- | libntp/icom.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libntp/icom.c b/libntp/icom.c index c981d8548418..80700114255e 100644 --- a/libntp/icom.c +++ b/libntp/icom.c @@ -121,17 +121,15 @@ doublefreq( /* returns void */ */ int icom_init( - char *device, /* device name/link */ + const char *device, /* device name/link */ int speed, /* line speed */ int trace /* trace flags */ ) { TTY ttyb; int fd; - int flags; int rc; int saved_errno; - flags = trace; fd = tty_open(device, O_RDWR, 0777); if (fd < 0) return -1; |