gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] [PATCH] ntpshm: fix status type


From: Mike Frysinger
Subject: [gpsd-dev] [PATCH] ntpshm: fix status type
Date: Thu, 26 Feb 2015 17:43:07 -0500

---
 ntpshm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntpshm.h b/ntpshm.h
index c8cd3b6..45648a8 100644
--- a/ntpshm.h
+++ b/ntpshm.h
@@ -60,7 +60,7 @@ enum segstat_t {
     OK, NO_SEGMENT, NOT_READY, BAD_MODE, CLASH};
 
 struct shm_stat_t {
-    int status;
+    enum segstat_t status;
     struct timespec tvc, tvr, tvt;
     int precision;
     int leap;
-- 
2.3.0




reply via email to

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