]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix && -> & typo in refclock_palisade.c debug statements
authorHarlan Stenn <stenn@ntp.org>
Sun, 5 Aug 2012 09:03:59 +0000 (05:03 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sun, 5 Aug 2012 09:03:59 +0000 (05:03 -0400)
bk: 501e36ff7wefKWcr0uyhHa1X9i4NZw

ChangeLog
ntpd/refclock_palisade.c

index f413cdc49106ca93bb4a006a055eb78a4735cb6c..d81fcab4d361755117b8289a1b957bad9628b2d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* Fix && -> & typo in refclock_palisade.c debug statements.
 (4.2.7p293) 2012/08/04 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 2247] (more) Get rid of the TRAK refclock - deprecated since 2006.
 * Documentation cleanup from Mike T.
index dfa45034b185a2140aae1e411348e25bd05bda82..8ce27c951e71747fda53a57ba4697007999a2572 100644 (file)
@@ -833,15 +833,15 @@ TSIP_decode (
                        up->polled = -1;
 #ifdef DEBUG
                        if (debug > 1) {
-                               if (mb(1) && 0x01)
+                               if (mb(1) & 0x01)
                                        printf ("Signal Processor Error, reset unit.\n");
-                               if (mb(1) && 0x02)
+                               if (mb(1) & 0x02)
                                        printf ("Alignment error, channel or chip 1, reset unit.\n");
-                               if (mb(1) && 0x03)
+                               if (mb(1) & 0x03)
                                        printf ("Alignment error, channel or chip 2, reset unit.\n");
-                               if (mb(1) && 0x04)
+                               if (mb(1) & 0x04)
                                        printf ("Antenna feed line fault (open or short)\n");
-                               if (mb(1) && 0x05)
+                               if (mb(1) & 0x05)
                                        printf ("Excessive reference frequency error, refer to packet 0x2D and packet 0x4D documentation for further information\n");
                        }
 #endif