LinuxPPS: Fix nanoseconds field in timestamp debug output
PATCH 1/1 LinuxPPS: Fix nanoseconds field in timestamp debug output
This patch makes the debug output print at least nine digits for the nanoseconds field, instead of at least six.
Signed-off-by Michel Roelofs <[email protected]>
Acked-by Rodolfo Giometti <[email protected]>
--- drivers/pps/kapi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/pps/kapi.c +1 -1
@@ -284,7 +284,7 @@ void pps_event(int source, struct pps_ktime *ts, int event, void *data)if (!pps)return ; -pr_debug ("PPS event on source %d at %llu.%06u\n" , +pr_debug ("PPS event on source %d at %llu.%09u\n" , pps->id, (unsigned long long ) ts->sec, ts->nsec);spin_lock_irqsave (&pps->lock, flags);
Signature · 1 line
1.7.0.4