From fd66252ca4e52ee7b15139b41b627e76025165ac Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 18 Apr 2014 16:09:07 +0200 Subject: [PATCH] libc_fs: Use priority higher than libc_vfs This way, we make sure that libc_fs is used if both plugins are present, which happens during the transition to libc_vfs. --- libports/src/lib/libc_fs/plugin.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libports/src/lib/libc_fs/plugin.cc b/libports/src/lib/libc_fs/plugin.cc index a9b011ee2a..848d6ea5bc 100644 --- a/libports/src/lib/libc_fs/plugin.cc +++ b/libports/src/lib/libc_fs/plugin.cc @@ -211,8 +211,10 @@ class Plugin : public Libc::Plugin /** * Constructor + * + * Use priority 1 to override libc_vfs. */ - Plugin() { } + Plugin() : Libc::Plugin(1) { } ~Plugin() { }