From 20b0836ec856675416b615315b94d80bad871af8 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 25 Apr 2017 17:27:32 -0400 Subject: [PATCH] repo: Fix incorrect use of errno() error throwing I happened to glance at the top of my most recent patch and noticed that I used an `throw_errno()` function in a non-errno place. I scanned the patch for other instances of this but didn't find one. Closes: #811 Approved by: jlebon --- src/libostree/ostree-repo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 5a2d94f2..ec2d8c83 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -2631,7 +2631,7 @@ query_info_for_bare_content_object (OstreeRepo *self, return FALSE; } else - return glnx_throw_errno_prefix (error, "Not a regular file or symlink: %s", loose_path_buf); + return glnx_throw (error, "Not a regular file or symlink: %s", loose_path_buf); ot_transfer_out_value (out_info, &ret_info); return TRUE;