From 61ef326ad8381ea08ad3045fd0c65f974684afde Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 11 Jul 2017 10:33:01 -0400 Subject: fdio: Add string prefix for glnx_fstat() For consistency. --- glnx-fdio.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'glnx-fdio.h') diff --git a/glnx-fdio.h b/glnx-fdio.h index d6352b2..902f8d2 100644 --- a/glnx-fdio.h +++ b/glnx-fdio.h @@ -236,8 +236,7 @@ glnx_fstat (int fd, GError **error) { if (TEMP_FAILURE_RETRY (fstat (fd, buf)) != 0) - return glnx_throw_errno (error); - + return glnx_throw_errno_prefix (error, "fstat"); return TRUE; } -- cgit v1.2.1