summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/osf1/imgact_osf1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/osf1/imgact_osf1.c b/sys/alpha/osf1/imgact_osf1.c
index f7bf971..d73e2a9 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) {
OpenPOWER on IntegriCloud