]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
If we're debugging, emit Version first.
authorHarlan Stenn <stenn@ntp.org>
Thu, 17 Apr 2003 10:20:30 +0000 (06:20 -0400)
committerHarlan Stenn <stenn@ntp.org>
Thu, 17 Apr 2003 10:20:30 +0000 (06:20 -0400)
bk: 3e9e7feeoqNDiqoac5jaATRkX1SlBA

ntpd/ntpd.c

index ad2c73b39cf614f6cbc77aa80e3c91320fb34036..b8e89d5876f0ecc26d240175294163a6f72c7c38 100644 (file)
@@ -384,6 +384,9 @@ ntpdmain(
 #endif
        getstartup(argc, argv); /* startup configuration, may set debug */
 
+       if (debug)
+           printf("%s\n", Version);
+
        /*
         * Initialize random generator and public key pair
         */