diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/gdm-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/gdm-common.c b/common/gdm-common.c index b428f5b8..8435161e 100644 --- a/common/gdm-common.c +++ b/common/gdm-common.c @@ -382,8 +382,8 @@ _read_bytes (int fd, if (premature_eof) { g_set_error (error, G_FILE_ERROR, - g_file_error_from_errno (ENODATA), - "%s", g_strerror (ENODATA)); + G_FILE_ERROR_FAILED, + "No data available"); return FALSE; } else if (bytes_left_to_read > 0) { |