summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--initvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/initvm.c b/initvm.c
index ec973a5..b5f64cf 100644
--- a/initvm.c
+++ b/initvm.c
@@ -259,7 +259,7 @@ enum okfail binfmt_register(char *datafile, char *regfile)
int ret;
/* Is an interpreter for this arch already registered? */
snprintf(path, sizeof(path), SYSFS_BINFMT_MISC "/%s", f[name]);
- ret=access(path, X_OK);
+ ret=access(path, F_OK);
if (ret == 0) {
#ifdef DEBUG
fprintf(stderr,