Skip to content

Commit a1520ca

Browse files
committed
Fix gcc build
1 parent ca5b970 commit a1520ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/native/libs/System.Native/pal_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ int32_t SystemNative_MemfdSupported(void)
377377
int32_t major, minor;
378378

379379
// memfd_create is only known to work properly on kernel version > 3.17 and throws SIGSEGV instead of ENOTSUP
380-
if (sscanf(uts.release, "%d.%d", &major, &minor) == 2 && major < 3 || (major == 3 && minor < 17))
380+
if (sscanf(uts.release, "%d.%d", &major, &minor) == 2 && (major < 3 || (major == 3 && minor < 17)))
381381
{
382382
return 0;
383383
}

0 commit comments

Comments
 (0)