From cb816e2fd6f1d5e60e18a1651960b894d0bcdccf Mon Sep 17 00:00:00 2001 From: Arno Schoenmakers <schoenmakers@astron.nl> Date: Wed, 15 Apr 2009 09:31:33 +0000 Subject: [PATCH] Bug 1341: Put some print statements in comments as it uses obsoleted (rhel4-specific) kernel parameters --- MAC/Tools/Clock/ppsctl.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/MAC/Tools/Clock/ppsctl.c b/MAC/Tools/Clock/ppsctl.c index b2c6f4a4dc6..c7495192573 100644 --- a/MAC/Tools/Clock/ppsctl.c +++ b/MAC/Tools/Clock/ppsctl.c @@ -230,19 +230,19 @@ int main(int argc, char *argv[]) int caps; int ch; - printf("(This version has been compiled" -#ifdef __linux__ - " on Linux %s\n", UTS_RELEASE -#endif - ); - printf(" using " -#if !defined(__GNU_LIBRARY__) || __GNU_LIBRARY__ < 6 - "an old C library (not glibc-2.x)" -#else - "glibc-%d.%d", - __GLIBC__, __GLIBC_MINOR__ -#endif - ); +// printf("(This version has been compiled" +//#ifdef __linux__ +// " on Linux %s\n", UTS_RELEASE +//#endif +// ); +// printf(" using " +//#if !defined(__GNU_LIBRARY__) || __GNU_LIBRARY__ < 6 +// "an old C library (not glibc-2.x)" +//#else +// "glibc-%d.%d", +// __GLIBC__, __GLIBC_MINOR__ +//#endif +// ); uname(&un); printf(". Now running %s %s)\n", un.sysname, un.release); parm.mode = PPS_TSFMT_TSPEC; /* set default flags */ -- GitLab