widgets(terminal): change pts log to debug

Change an error log of the pts name to be a debug level.
This commit is contained in:
Tim Culverhouse 2024-09-05 06:24:24 -05:00
parent fa485c740c
commit 8263b1e35c

View file

@ -48,7 +48,7 @@ fn openPtyLinux() !Pty {
if (posix.system.ioctl(p, posix.T.IOCGPTN, @intFromPtr(&n)) != 0) return error.IoctlError;
var buf: [16]u8 = undefined;
const sname = try std.fmt.bufPrint(&buf, "/dev/pts/{d}", .{n});
std.log.err("pts: {s}", .{sname});
std.log.debug("pts: {s}", .{sname});
const t = try posix.open(sname, .{ .ACCMODE = .RDWR, .NOCTTY = true }, 0);