diff options
author | Brian Cameron <Brian.Cameron@sun.com> | 2010-05-24 17:00:32 -0500 |
---|---|---|
committer | Brian Cameron <Brian.Cameron@sun.com> | 2010-05-24 17:00:32 -0500 |
commit | 7934d1a662d7354345e7b62f393c2fdfa4b4caba (patch) | |
tree | abd98cb62ac9fc3ff0537d4e78396ed7376429ac | |
parent | 3aa2c2c687d87de58c17ae4179361f8822f3220f (diff) | |
download | gdm-7934d1a662d7354345e7b62f393c2fdfa4b4caba.tar.gz |
Fix bug #591937 so code compiles on FreeBSD.
-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) { |