[igt-dev] [PATCH i-g-t] lib/audio: Fix compiler error with missing permsisions to O_CREAT.
Ser, Simon
simon.ser at intel.com
Mon Apr 29 09:50:08 UTC 2019
On Mon, 2019-04-29 at 11:24 +0200, Maarten Lankhorst wrote:
> In file included from /usr/include/fcntl.h:290:0,
> from ../../lib/igt_audio.c:30:
> In function ‘open’,
> inlined from ‘audio_create_wav_file_s32_le’ at igt_audio.c:450:5:
> /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to
> ‘__open_missing_mode’ declared with attribute error: open with
> O_CREAT or O_TMPFILE in second argument needs 3 arguments
> __open_missing_mode ();
> ^~~~~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Simon Ser <simon.ser at intel.com>
> Cc: Martin Peres <martin.peres at linux.intel.com>
Duplicate of https://lists.freedesktop.org/archives/igt-dev/2019-April/012642.html
More information about the igt-dev
mailing list