]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
refclock_hpgps.c:
authorHal Murray <murray@ntp.org>
Tue, 16 Dec 2014 09:59:54 +0000 (04:59 -0500)
committerHal Murray <murray@ntp.org>
Tue, 16 Dec 2014 09:59:54 +0000 (04:59 -0500)
  Fix typo.

bk: 5490029aoqCZSeLOdlz0QHjKlNFFKw

ntpd/refclock_hpgps.c

index 111f5121063bda4ffaa3858514485878e584e8ce..0b45fc74f2f1ea93060f3db630c0a22647a2eca3 100644 (file)
@@ -165,7 +165,7 @@ hpgps_start(
         */
        snprintf(device, sizeof(device), DEVICE, unit);
        ldisc = LDISC_CLK;
-       ldisc = SPEED232;
+       speed = SPEED232;
        /* mode parameter to server config line shares ttl slot */
        if (1 == peer->ttl) {
                ldisc |= LDISC_7O1;