19 lines
641 B
Diff
19 lines
641 B
Diff
--- kbd-1.12/src/kdfontop.c.orig 2004-10-01 13:44:47.788404680 +0000
|
|
+++ kbd-1.12/src/kdfontop.c 2004-10-01 13:46:09.349005584 +0000
|
|
@@ -268,6 +268,7 @@
|
|
if (i == 0)
|
|
return 0;
|
|
if (errno != ENOSYS && errno != EINVAL) {
|
|
+ fprintf(stderr, "%s: putfont: %d,%dx%d:failed: %d\n", progname, count, width, height, i);
|
|
perror("putfont: PIO_FONTX");
|
|
return -1;
|
|
}
|
|
@@ -276,6 +277,7 @@
|
|
/* This will load precisely 256 chars, independent of count */
|
|
i = ioctl(fd, PIO_FONT, buf);
|
|
if (i) {
|
|
+ fprintf(stderr, "%s: putfont: %d,%dx%d: failed: %d\n", progname, count, width, height, i);
|
|
perror("putfont: PIO_FONT");
|
|
return -1;
|
|
}
|