mirror of
https://github.com/partic2/libffi
synced 2026-11-10 10:07:19 +00:00
Rebase
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user