aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libnvpair
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-01-22 01:56:46 +0100
committerBrian Behlendorf <[email protected]>2022-03-15 15:13:48 -0700
commitd465fc584425c618f8baa13a31b70ffabe053484 (patch)
treed5c120208b294829231adc7d7efbb28fdee3adcd /lib/libnvpair
parent861166b02701dfc8f63a105bd32758e806c84fd7 (diff)
Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h>
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12996
Diffstat (limited to 'lib/libnvpair')
-rw-r--r--lib/libnvpair/libnvpair_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnvpair/libnvpair_json.c b/lib/libnvpair/libnvpair_json.c
index b27f7e4f6..19acea8f5 100644
--- a/lib/libnvpair/libnvpair_json.c
+++ b/lib/libnvpair/libnvpair_json.c
@@ -15,7 +15,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <strings.h>
+#include <string.h>
#include <wchar.h>
#include <sys/debug.h>