diff options
Diffstat (limited to 'libffi/src/closures.c')
-rw-r--r-- | libffi/src/closures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/src/closures.c b/libffi/src/closures.c index 8f295dd..d7b338b 100644 --- a/libffi/src/closures.c +++ b/libffi/src/closures.c @@ -294,7 +294,7 @@ open_temp_exec_file_mnt (const char *mounts) struct mntent mnt; char buf[MAXPATHLEN * 3]; - if (getmntent_r (last_mntent, &mnt, buf, sizeof (buf))) + if (getmntent_r (last_mntent, &mnt, buf, sizeof (buf)) == NULL) return -1; if (hasmntopt (&mnt, "ro") |