mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
Oskar Liljeblad writes:
Here's a fix for the hard-coded device name in fbset.
This commit is contained in:
parent
b6e58d2b9a
commit
5f28455c6e
@ -376,6 +376,7 @@ extern int bb_default_error_retval;
|
||||
#endif
|
||||
# define VC_FORMAT "/dev/vc/%d"
|
||||
# define LOOP_FORMAT "/dev/loop/%d"
|
||||
# define FB_0 "/dev/fb/0"
|
||||
#else
|
||||
# define CURRENT_VC "/dev/tty0"
|
||||
# define VC_1 "/dev/tty1"
|
||||
@ -394,6 +395,7 @@ extern int bb_default_error_retval;
|
||||
#endif
|
||||
# define VC_FORMAT "/dev/tty%d"
|
||||
# define LOOP_FORMAT "/dev/loop%d"
|
||||
# define FB_0 "/dev/fb0"
|
||||
#endif
|
||||
|
||||
//#warning put these in .o files
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user