[PATCH 2/2] c-user/clock: Fix typo

Matthew Joyce matthew.joyce at embedded-brains.de
Mon Nov 7 10:20:21 UTC 2022


From: Matt Joyce <matthew.joyce at embedded-brains.de>

---
 c-user/clock/directives.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c-user/clock/directives.rst b/c-user/clock/directives.rst
index 6e1542c..877204a 100644
--- a/c-user/clock/directives.rst
+++ b/c-user/clock/directives.rst
@@ -1222,7 +1222,7 @@ system initialization using :term:`CLOCK_MONOTONIC`.
 .. rubric:: PARAMETERS:
 
 ``uptime``
-    This parameter is the pointer to a `struct timeval
+    This parameter is the pointer to a `struct timespec
     <https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html>`_
     object.  When the directive call is successful, the seconds and nanoseconds
     elapsed since some time point during the system initialization and some
-- 
2.35.3



More information about the devel mailing list