commit f22c3d3

Michael Forney  ·  2013-11-23 07:06:22 +0000 UTC
parent 2fe9759
launch: Better error messages
1 files changed,  +2, -2
+2, -2
 1@@ -297,10 +297,10 @@ static int find_vt()
 2     tty0_fd = open("/dev/tty0", O_RDWR);
 3 
 4     if (tty0_fd == -1)
 5-        die("Could not open /dev/tty0 to find open VT");
 6+        die("Could not open /dev/tty0 to find unused VT");
 7 
 8     if (ioctl(tty0_fd, VT_OPENQRY, &vt) != 0)
 9-        die("Could not find open VT");
10+        die("Could not find unused VT");
11 
12     close(tty0_fd);
13