diff --git a/sys/alpha/osf1/imgact_osf1.c b/sys/alpha/osf1/imgact_osf1.c index f7bf971c197c..d73e2a932707 100644 --- a/sys/alpha/osf1/imgact_osf1.c +++ b/sys/alpha/osf1/imgact_osf1.c @@ -102,7 +102,7 @@ exec_osf1_imgact(struct image_params *imgp) /* check to make sure we have an alpha ecoff executable */ if (ECOFF_BADMAG(execp)) - return ENOEXEC; + return -1; /* verfify it an OSF/1 exectutable */ if (eap->magic != ECOFF_ZMAGIC) {