libc_terminal: Use prio to override libc_vfs

This commit is contained in:
Norman Feske 2014-04-18 19:59:27 +02:00 committed by Christian Helmuth
parent 7750a399cc
commit 16378745bf

View File

@ -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)
{ {