]> git.ipfire.org Git - thirdparty/chrony.git/commit
util: fix compiler warning
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 3 Aug 2020 16:56:20 +0000 (18:56 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 4 Aug 2020 10:24:51 +0000 (12:24 +0200)
commit4993c35e11cc641568811fcdddabc75348c64c1a
tree2ec3b13f173d1d86e2588a69dddd50f3476d1c34
parent6a5665ca5877bad1ae77c906715414aac77d9f77
util: fix compiler warning

Replace the snprintf() call with memcpy() in UTI_PathToDir() to make it
clear a truncated string is expected.
util.c