diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-08 13:40:37 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-08 13:43:32 +0200 |
commit | d1d5f7f311c094339d7014408dc8bd550662b398 (patch) | |
tree | 65ad1bebe233e2672c9152b6b2ece9952f6ba92d /libs/ardour/plugin_manager.cc | |
parent | b5ea1b23b47d6ddf57abb35111cfd52db3451d8a (diff) |
use g_open for DLL arch test
Diffstat (limited to 'libs/ardour/plugin_manager.cc')
-rw-r--r-- | libs/ardour/plugin_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index d98f5ccc45..cccc1635f1 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -798,7 +798,7 @@ static std::string dll_info (std::string path) { uint16_t type = 0; off_t pe_hdr_off = 0; - int fd = open(path.c_str(), O_RDONLY, 0444); + int fd = g_open(path.c_str(), O_RDONLY, 0444); if (fd < 0) { return _("- cannot open dll"); // TODO strerror() |