John Baldwin 611cf39267 libfetch: Use memcpy in place of an odd strncpy.
The length passed to strncpy is the length of the source string, not
the destination buffer.  This triggers a non-fatal warning in GCC 12.
Hoewver, the code is also odd.  It is really just a memcpy of the
string without its nul terminator.  For that use case, memcpy is
clearer.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D36824
2022-10-03 16:10:43 -07:00
..
2021-01-07 09:31:03 +00:00
2020-04-19 02:20:39 +00:00
2020-07-19 23:56:19 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-04-19 02:18:40 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2021-10-15 15:10:24 -04:00
2022-03-01 08:06:41 -07:00
2020-08-04 21:09:36 +00:00
2019-12-11 17:37:53 +00:00
2021-10-22 19:57:57 -04:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2021-01-13 23:56:18 -06:00
2022-09-24 19:16:39 -07:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2022-07-22 00:23:08 +02:00
2020-09-11 13:28:37 +00:00
2020-06-17 10:42:20 +00:00
2022-10-02 03:37:29 +02:00
2019-12-21 21:01:03 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2022-07-19 08:59:53 -07:00
2022-10-02 03:37:29 +02:00
2020-09-11 13:28:37 +00:00
2020-05-21 01:55:35 +00:00
2019-12-11 17:37:53 +00:00
2020-05-21 21:00:46 +00:00
2022-08-07 16:30:24 +02:00
2019-12-11 17:37:53 +00:00
2022-09-19 21:40:07 +03:00
2022-10-02 03:37:29 +02:00