diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-bt-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-bt-device.c b/src/modules/module-bt-device.c index 9b91a7c5..474e590c 100644 --- a/src/modules/module-bt-device.c +++ b/src/modules/module-bt-device.c @@ -479,7 +479,7 @@ static int bt_getstreamfd(struct userdata *u) { } if (u->stream_fd >= 0) - close(u->stream_fd); + pa_close(u->stream_fd); u->stream_fd = bt_audio_service_get_data_fd(u->audioservice_fd); if (u->stream_fd < 0) { |