diff --git a/src/main.zig b/src/main.zig index d21285a..8cdb469 100644 --- a/src/main.zig +++ b/src/main.zig @@ -63,7 +63,7 @@ pub fn main() !void { if (args.len != 2) { std.debug.print("error: expected one argument", .{}); - std.os.exit(1); + std.posix.exit(1); } const dev_name = args[1]; const dev = try inputDeviceOpenAndGrab(dev_name);