gioerror: Add G_IO_ERROR_NO_SUCH_DEVICE to map ENODEV

This commit is contained in:
Marco Trevisan (Treviño)
2022-06-14 18:30:41 +02:00
parent 9e09894414
commit d2ca48ad97
3 changed files with 9 additions and 2 deletions

View File

@@ -272,7 +272,7 @@ test_error_from_errno (void)
#ifdef ENODEV
g_assert_cmpint (g_io_error_from_errno (ENODEV), ==,
G_IO_ERROR_FAILED);
G_IO_ERROR_NO_SUCH_DEVICE);
#endif
#ifdef ENFILE