aboutsummaryrefslogtreecommitdiff
path: root/sysutils/vbetool
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/vbetool')
-rw-r--r--sysutils/vbetool/files/patch-vbetool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/vbetool/files/patch-vbetool.c b/sysutils/vbetool/files/patch-vbetool.c
index 97eb7d0f3870..5960ec0ba3d2 100644
--- a/sysutils/vbetool/files/patch-vbetool.c
+++ b/sysutils/vbetool/files/patch-vbetool.c
@@ -42,7 +42,7 @@
LRMI_free_real(data);
-+#ifdef __linux__
++#ifndef __FreeBSD__
ioctl(0, KDSETMODE, KD_TEXT);
+#endif
@@ -52,7 +52,7 @@
return 11;
}
-+#ifdef __linux__
++#ifndef __FreeBSD__
ioctl(0, KDSETMODE, KD_GRAPHICS);
+#endif
return 0;