diff options
| author | 2021-12-30 22:31:41 -0800 | |
|---|---|---|
| committer | 2021-12-30 22:31:41 -0800 | |
| commit | e5587c2b31594adfe0f97e7a4564b2c196abbe2a (patch) | |
| tree | f2d5c5a1606517c0557c243bc9a5cf314a0ce899 | |
| parent | 8128c79e8193b30fecad3d45b728fe8731303797 (diff) | |
| download | bun-e5587c2b31594adfe0f97e7a4564b2c196abbe2a.tar.gz bun-e5587c2b31594adfe0f97e7a4564b2c196abbe2a.tar.zst bun-e5587c2b31594adfe0f97e7a4564b2c196abbe2a.zip | |
Update global.zig
| -rw-r--r-- | src/global.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.zig b/src/global.zig index fef27d3db..e98166c53 100644 --- a/src/global.zig +++ b/src/global.zig @@ -85,7 +85,7 @@ pub const Output = struct { // On Linux, thread may be undefined // Fortunately, we can use a different syscall that only affects the current thread if (Environment.isLinux) { - _ = std.os.linux.prctl(std.os.PR.SET_NAME, @ptrToInt(name.ptr), 0, 0, 0); + _ = std.os.prctl(.SET_NAME, .{@ptrToInt(name.ptr)}) catch 0; } else { thread.setName(name) catch {}; } |
