diff options
author | Gary E. Miller <gem@rellim.com> | 2016-04-05 00:50:58 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-04-05 00:50:58 -0700 |
commit | e30203491a842d63254db19fe261971f98c50a36 (patch) | |
tree | c61256f7e63bf0728a8131deadaf05f0c99f6495 /ntpshmmon.c | |
parent | d65a98f4cbeda45e37677c93fb0c38842c46f215 (diff) | |
download | gpsd-e30203491a842d63254db19fe261971f98c50a36.tar.gz |
Cleanup: atof() -> safe_atof()
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r-- | ntpshmmon.c | 2 |
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); |