aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fbset.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-14 03:11:29 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-14 03:11:29 +0000
commit5f28455c6efe9c86d96d216a5bdc7f6db3e85780 (patch)
tree0f75de41886affd1c3fbff8db2a53b6f5a5a8faf /util-linux/fbset.c
parentb6e58d2b9a02dfcf313e064408aea1359a4d9763 (diff)
downloadbusybox-5f28455c6efe9c86d96d216a5bdc7f6db3e85780.tar.gz
Oskar Liljeblad writes:
Here's a fix for the hard-coded device name in fbset.
Diffstat (limited to 'util-linux/fbset.c')
-rw-r--r--util-linux/fbset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index f66ebe546..b5f57b1e4 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -35,7 +35,7 @@
#include <sys/ioctl.h>
#include "busybox.h"
-#define DEFAULTFBDEV "/dev/fb0"
+#define DEFAULTFBDEV FB_0
#define DEFAULTFBMODE "/etc/fb.modes"
static const int OPT_CHANGE = (1 << 0);