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
This commit is contained in:
parent
1ceb17ff11
commit
20b0836ec8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue