gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH 1/3] Print ntpshmmon banner as comment to follow spec


From: Miroslav Lichvar
Subject: [gpsd-dev] [PATCH 1/3] Print ntpshmmon banner as comment to follow spec
Date: Thu, 7 May 2015 12:34:32 +0200

---
 ntpshmmon.c   | 2 +-
 ntpshmmon.xml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ntpshmmon.c b/ntpshmmon.c
index ebf48a0..c2a621c 100644
--- a/ntpshmmon.c
+++ b/ntpshmmon.c
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
     }
 
     (void)printf("ntpshmmon version 1\n");
-    (void)printf("       Name   Seen@                Clock                Real 
              L Prec\n");
+    (void)printf("#      Name   Seen@                Clock                Real 
              L Prec\n");
 
     do {
        struct shm_stat_t       shm_stat;
diff --git a/ntpshmmon.xml b/ntpshmmon.xml
index 71ceafa..82e1bd0 100644
--- a/ntpshmmon.xml
+++ b/ntpshmmon.xml
@@ -50,6 +50,7 @@ fields.</para>
 
 <literallayout>
 ntpshmmon version 1
+#      Name   Seen@                Clock                Real               L 
Prec
 sample NTP2 1424926256.443030206 1424926256.115869233 1424926256.000000000 0  
-1
 sample NTP3 1424926256.443060517 1424926255.995430821 1424926256.000000000 0 
-20
 sample NTP3 1424926256.995747347 1424926256.995422728 1424926257.000000000 0 
-20
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]