diff --git a/libc/calls/execve-sysv.c b/libc/calls/execve-sysv.c index 2b1cf2ed1..33d166b9a 100644 --- a/libc/calls/execve-sysv.c +++ b/libc/calls/execve-sysv.c @@ -78,7 +78,8 @@ int sys_execve(const char *prog, char *const argv[], char *const envp[]) { char **shargs; const char *ape; struct ZiposUri uri; - if (_weaken(__zipos_parseuri) && (_weaken(__zipos_parseuri)(prog, &uri) != -1)) { + if (_weaken(__zipos_parseuri) && + (_weaken(__zipos_parseuri)(prog, &uri) != -1)) { rc = _weaken(__zipos_open)(&uri, O_RDONLY | O_CLOEXEC, 0); if (rc != -1) { const int zipFD = rc; diff --git a/libc/calls/fexecve.c b/libc/calls/fexecve.c index 329e9d5ae..c85c65ae4 100644 --- a/libc/calls/fexecve.c +++ b/libc/calls/fexecve.c @@ -183,16 +183,17 @@ int fexecve(int fd, char *const argv[], char *const envp[]) { STRACE("fexecve(%d, %s, %s) → ...", fd, DescribeStringList(argv), DescribeStringList(envp)); do { - if(!IsLinux() && !IsFreebsd()) { - rc = enosys(); - break; + if (!IsLinux() && !IsFreebsd()) { + rc = enosys(); + break; } - if(!__isfdkind(fd, kFdZip)) { + if (!__isfdkind(fd, kFdZip)) { bool memfdReq; BEGIN_CANCELLATION_POINT; BLOCK_SIGNALS; strace_enabled(-1); - memfdReq = ((rc = fcntl(fd, F_GETFD)) != -1) && (rc & FD_CLOEXEC) && IsAPEFd(fd); + memfdReq = ((rc = fcntl(fd, F_GETFD)) != -1) && (rc & FD_CLOEXEC) && + IsAPEFd(fd); strace_enabled(+1); ALLOW_SIGNALS; END_CANCELLATION_POINT;