mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-25 01:34:34 +03:00
88a1fc92a9
I had to run a sed job to add whitespace after, but otherwise this was easy. Closes: #890 Approved by: jlebon
20 lines
461 B
Plaintext
20 lines
461 B
Plaintext
// Conversion for G_IO_ERROR_FAILED that could be glnx_throw()
|
|
@@
|
|
expression p;
|
|
@@
|
|
- g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED, p);
|
|
- return FALSE;
|
|
+ return glnx_throw (error, "%s", p);
|
|
@@
|
|
expression p;
|
|
@@
|
|
- g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, p);
|
|
- return FALSE;
|
|
+ return glnx_throw (error, p);
|
|
@@
|
|
expression p, q;
|
|
@@
|
|
- g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, p, q);
|
|
- return FALSE;
|
|
+ return glnx_throw (error, p, q);
|