From 8641789d87228570f56c50dee7784722c9046a35 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 2 Jul 2020 12:49:44 +0100 Subject: [PATCH] libsysprof-capture: Use unlink() rather than g_unlink() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They’re equivalent. Signed-off-by: Philip Withnall Helps: #40 --- src/libsysprof-capture/sysprof-capture-writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsysprof-capture/sysprof-capture-writer.c b/src/libsysprof-capture/sysprof-capture-writer.c index 7926e6a4..01704880 100644 --- a/src/libsysprof-capture/sysprof-capture-writer.c +++ b/src/libsysprof-capture/sysprof-capture-writer.c @@ -988,7 +988,7 @@ handle_errno: if (fd != -1) { close (fd); - g_unlink (filename); + unlink (filename); } return false;