diff options
Diffstat (limited to 'nuttx/binfmt/libnxflat/libnxflat_verify.c')
-rw-r--r-- | nuttx/binfmt/libnxflat/libnxflat_verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/binfmt/libnxflat/libnxflat_verify.c b/nuttx/binfmt/libnxflat/libnxflat_verify.c index b1ca85330..c153a1128 100644 --- a/nuttx/binfmt/libnxflat/libnxflat_verify.c +++ b/nuttx/binfmt/libnxflat/libnxflat_verify.c @@ -79,7 +79,7 @@ int nxflat_verifyheader(const struct nxflat_hdr_s *header) * silently. This is not our binary. */ - if (strncmp(header->h_magic, "NXFLAT", 4) != 0) + if (strncmp(header->h_magic, NXFLAT_MAGIC, 4) != 0) { bdbg("Unrecognized magic=\"%c%c%c%c\"", header->h_magic[0], header->h_magic[1], |