unobfuscate: !strncmp() != 0 -> strncmp() == 0

This commit is contained in:
christos 1998-10-04 16:51:18 +00:00
parent 18632b9779
commit 9ec65653f5

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_exec_elf32.c,v 1.35 1998/10/04 09:40:09 fvdl Exp $ */
/* $NetBSD: linux_exec_elf32.c,v 1.36 1998/10/04 16:51:18 christos Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@ -207,7 +207,7 @@ ELFNAME2(linux,signature)(p, epp, eh)
testp = (char *)notep;
testp[16] = '\0';
if (!strncmp(&testp[8], "linux", 5) != 0) {
if (strncmp(&testp[8], "linux", 5) == 0) {
error = 0;
goto out3;
}