mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-30 06:04:25 +00:00
libc_terminal: Use prio to override libc_vfs
This commit is contained in:
parent
7750a399cc
commit
16378745bf
@ -137,12 +137,17 @@ namespace {
|
|||||||
*/
|
*/
|
||||||
static char const *_dev_name() { return "/dev/terminal"; }
|
static char const *_dev_name() { return "/dev/terminal"; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Prioritize plugin over libc_vfs
|
||||||
|
*/
|
||||||
|
enum { PLUGIN_PRIORITY = 1 };
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
Plugin() { }
|
Plugin() : Libc::Plugin(PLUGIN_PRIORITY) { }
|
||||||
|
|
||||||
bool supports_stat(const char *path)
|
bool supports_stat(const char *path)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user