summaryrefslogtreecommitdiffstats
path: root/app/time_fn.c
diff options
context:
space:
mode:
authorJames McKenzie <root@ka-ata-killa.panaceas.james.local>2023-02-18 18:48:42 +0000
committerJames McKenzie <root@ka-ata-killa.panaceas.james.local>2023-02-18 18:48:42 +0000
commit6bc7601e8f6c83c8def86aa7ae7cf06f51593771 (patch)
tree9518dad41956f815f8049301b5a3ff8c59131e2f /app/time_fn.c
parentae0195ab312388deb8466816375addc155eadad9 (diff)
downloadclock-6bc7601e8f6c83c8def86aa7ae7cf06f51593771.tar.gz
clock-6bc7601e8f6c83c8def86aa7ae7cf06f51593771.tar.bz2
clock-6bc7601e8f6c83c8def86aa7ae7cf06f51593771.zip
remove all use of FP in printf as it's not thread safeHEADmaster
Diffstat (limited to 'app/time_fn.c')
-rw-r--r--app/time_fn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/time_fn.c b/app/time_fn.c
index 75b69d3..8c6c4f1 100644
--- a/app/time_fn.c
+++ b/app/time_fn.c
@@ -437,7 +437,7 @@ EPOCH time_ra_to_next_epoch (EPOCH l, double tra)
int dog = 48;
- printf ("time_ra_to_next_epoch %.9f\n", tra);
+ printf ("time_ra_to_next_epoch %s\n", fd1 (tra, 0, 1, 9));
/* XXX: we should use newton raphson, but */
/* 1) we're on team hooke */