diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-03-09 10:11:54 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-03-09 10:11:54 +0000 |
commit | 270e3fb2b72f0d9443ad0ca6bddcb5fd684e3aee (patch) | |
tree | 65ed5539fde38f0250f46e6e1f14297230d1b303 /usr.sbin/ntpd/ntpd.8 | |
parent | b9e0ee2fedbb14ed48872cb4a7cfd9d744777730 (diff) |
use temporary strings for calls to basename(), because it may change
the contents of its argument (on other platforms). Also strdup() the result,
because basename returns a pointer to static memory.
ok florian@
Diffstat (limited to 'usr.sbin/ntpd/ntpd.8')
0 files changed, 0 insertions, 0 deletions