[openssh-commits] [openssh] 04/09: Resync minor format diffs with upstream.

git+noreply at mindrot.org git+noreply at mindrot.org
Sun Feb 8 04:45:54 AEDT 2026


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 9e585f11bb71115fb0376b2b6118892ab600aa4f
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Sun Feb 8 04:25:42 2026 +1100

    Resync minor format diffs with upstream.
---
 misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc.c b/misc.c
index d1369b956..9d9282174 100644
--- a/misc.c
+++ b/misc.c
@@ -1831,7 +1831,7 @@ monotime(void)
 	struct timespec ts;
 
 	monotime_ts(&ts);
-	return ts.tv_sec;
+	return (ts.tv_sec);
 }
 
 double
@@ -1840,7 +1840,7 @@ monotime_double(void)
 	struct timespec ts;
 
 	monotime_ts(&ts);
-	return ts.tv_sec + ((double)ts.tv_nsec / 1000000000);
+	return (double)ts.tv_sec + (double)ts.tv_nsec / 1000000000.0;
 }
 
 void

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list