From 290899661d462d6a620588bcc94a3ea552d85bea Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Mon, 16 Jan 2023 20:31:36 +0000 Subject: [PATCH] Fix a typo in the NS_PER_ macros Milliseconds and microseconds were swapped. --- lib/isc/include/isc/time.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/include/isc/time.h b/lib/isc/include/isc/time.h index 9470903152..5de7ab6970 100644 --- a/lib/isc/include/isc/time.h +++ b/lib/isc/include/isc/time.h @@ -25,8 +25,8 @@ enum { MS_PER_SEC = 1000, /*%< Milliseonds per second. */ US_PER_MS = 1000, /*%< Microseconds per millisecond. */ US_PER_SEC = 1000 * 1000, /*%< Microseconds per second. */ - NS_PER_US = 1000, /*%< Nanoseconds per millisecond. */ - NS_PER_MS = 1000 * 1000, /*%< Nanoseconds per microsecond. */ + NS_PER_US = 1000, /*%< Nanoseconds per microsecond. */ + NS_PER_MS = 1000 * 1000, /*%< Nanoseconds per millisecond. */ NS_PER_SEC = 1000 * 1000 * 1000, /*%< Nanoseconds per second. */ };