From 949a45b748546c125e69d794b0f73565f376ab60 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 27 Jul 2015 00:41:28 +0200 Subject: fixes/updates for move to ::open() --- libs/ardour/sndfileimportable.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/sndfileimportable.cc') diff --git a/libs/ardour/sndfileimportable.cc b/libs/ardour/sndfileimportable.cc index 11cff41c35..7f108453b6 100644 --- a/libs/ardour/sndfileimportable.cc +++ b/libs/ardour/sndfileimportable.cc @@ -74,7 +74,7 @@ SndFileImportableSource::get_timecode_info (SNDFILE* sf, SF_BROADCAST_INFO* binf SndFileImportableSource::SndFileImportableSource (const string& path) { - int fd = g_open (path.c_str (), SFM_READ, 0444); + int fd = g_open (path.c_str (), O_RDONLY, 0444); if (fd == -1) { throw failed_constructor (); } -- cgit v1.2.3