From: Christos Zoulas Date: Tue, 11 Dec 2018 21:10:33 +0000 (+0000) Subject: fix name X-Git-Tag: FILE5_36~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98f29456f1f9a7a6e553fd01020143abaa561a3b;p=file fix name --- diff --git a/src/magic.c b/src/magic.c index 4f85676f..88586855 100644 --- a/src/magic.c +++ b/src/magic.c @@ -33,7 +33,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: magic.c,v 1.107 2018/12/11 14:41:11 christos Exp $") +FILE_RCSID("@(#)$File: magic.c,v 1.108 2018/12/11 21:10:33 christos Exp $") #endif /* lint */ #include "magic.h" @@ -604,7 +604,7 @@ magic_setparam(struct magic_set *ms, int param, const void *val) ms->elf_notes_max = (uint16_t)*(const size_t *)val; return 0; case MAGIC_PARAM_REGEX_MAX: - ms->elf_regex_max = (uint16_t)*(const size_t *)val; + ms->regex_max = (uint16_t)*(const size_t *)val; return 0; case MAGIC_PARAM_BYTES_MAX: ms->bytes_max = *(const size_t *)val;