diff options
author | наб <[email protected]> | 2022-01-22 01:56:46 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-03-15 15:13:48 -0700 |
commit | d465fc584425c618f8baa13a31b70ffabe053484 (patch) | |
tree | d5c120208b294829231adc7d7efbb28fdee3adcd /cmd/zinject/translate.c | |
parent | 861166b02701dfc8f63a105bd32758e806c84fd7 (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 'cmd/zinject/translate.c')
-rw-r--r-- | cmd/zinject/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/zinject/translate.c b/cmd/zinject/translate.c index 4939c0b85..2b5f1fcd9 100644 --- a/cmd/zinject/translate.c +++ b/cmd/zinject/translate.c @@ -31,7 +31,7 @@ #include <stddef.h> #include <stdio.h> #include <stdlib.h> -#include <strings.h> +#include <string.h> #include <sys/file.h> #include <sys/mntent.h> #include <sys/mnttab.h> @@ -186,6 +186,7 @@ initialize_range(err_type_t type, int level, char *range, switch (type) { default: break; + case TYPE_DATA: break; |