summaryrefslogtreecommitdiff
path: root/ntpshmmon.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-04-05 00:50:58 -0700
committerGary E. Miller <gem@rellim.com>2016-04-05 00:50:58 -0700
commite30203491a842d63254db19fe261971f98c50a36 (patch)
treec61256f7e63bf0728a8131deadaf05f0c99f6495 /ntpshmmon.c
parentd65a98f4cbeda45e37677c93fb0c38842c46f215 (diff)
downloadgpsd-e30203491a842d63254db19fe261971f98c50a36.tar.gz
Cleanup: atof() -> safe_atof()
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r--ntpshmmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpshmmon.c b/ntpshmmon.c
index ce30cd28..7c90e52c 100644
--- a/ntpshmmon.c
+++ b/ntpshmmon.c
@@ -34,7 +34,7 @@ int main(int argc, char **argv)
while ((option = getopt(argc, argv, "c:hn:st:vV")) != -1) {
switch (option) {
case 'c':
- cycle = atof(optarg);
+ cycle = safe_atof(optarg);
break;
case 'n':
nsamples = atoi(optarg);