From 5164a9e13ccc19952f622af1208add41c71763b3 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 17 Jul 2003 21:22:23 +0000 Subject: [PATCH] Recognize kernel versions 2.[678] --- sys_linux.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys_linux.c b/sys_linux.c index 3daa201..2cb02b8 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -1,5 +1,5 @@ /* - $Header: /cvs/src/chrony/sys_linux.c,v 1.41 2003/07/01 20:56:23 richard Exp $ + $Header: /cvs/src/chrony/sys_linux.c,v 1.42 2003/07/17 21:22:23 richard Exp $ ======================================================================= @@ -757,6 +757,11 @@ get_version_specific_details(void) case 3: case 4: case 5: + case 6: + /* Let's be optimistic that these will be the same until proven + otherwise :-) */ + case 7: + case 8: /* These seem to be like 2.0.32 */ freq_scale = (hz==100) ? (128.0 / 128.125) : basic_freq_scale; have_readonly_adjtime = 0;