[PATCH] tain_addmsec_g calls nonexistent tain_addmillisec

From: András Bodor <bodand_at_proton.me>
Date: Thu, 17 Sep 2026 11:26:47 +0200

The tain_addmsec_g macro currently calls a function that doesn't exist.
As per the addsec interface above it, it seems like a typo.

Signed-off-by: András Bodor <bodand_at_proton.me>
---
 src/include/skalibs/tai.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/skalibs/tai.h b/src/include/skalibs/tai.h
index c449d9a..0170740 100644
--- a/src/include/skalibs/tai.h
+++ b/src/include/skalibs/tai.h
_at__at_ -122,7 +122,7 @@ extern int tain_add (tain *, tain const *, tain const *) ;
 extern int tain_addsec (tain *, tain const *, int) ;
 #define tain_addsec_g(deadline, n) tain_addsec(deadline, &STAMP, n)
 extern int tain_addmsec (tain *, tain const *, unsigned int) ;
-#define tain_addmsec_g(deadline, n) tain_addmillisec(deadline, &STAMP, n)
+#define tain_addmsec_g(deadline, n) tain_addmsec(deadline, &STAMP, n)
 extern int tain_sub (tain *, tain const *, tain const *) ;
 extern int tain_less (tain const *, tain const *) gccattr_pure ;
 #define tain_future(deadline) tain_less(&STAMP, (deadline))
--
2.55.0

Received on Thu Sep 17 2026 - 11:26:47 CEST

This archive was generated by hypermail 2.4.0 : Thu Sep 17 2026 - 11:28:11 CEST