std.os -> std.posix
This commit is contained in:
parent
5ddce57fc0
commit
5d14340f98
@ -63,7 +63,7 @@ pub fn main() !void {
|
|||||||
|
|
||||||
if (args.len != 2) {
|
if (args.len != 2) {
|
||||||
std.debug.print("error: expected one argument", .{});
|
std.debug.print("error: expected one argument", .{});
|
||||||
std.os.exit(1);
|
std.posix.exit(1);
|
||||||
}
|
}
|
||||||
const dev_name = args[1];
|
const dev_name = args[1];
|
||||||
const dev = try inputDeviceOpenAndGrab(dev_name);
|
const dev = try inputDeviceOpenAndGrab(dev_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user