summaryrefslogtreecommitdiff
path: root/gutils.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@src.gnome.org>1999-01-20 21:21:24 +0000
committerJeff Garzik <jgarzik@src.gnome.org>1999-01-20 21:21:24 +0000
commite0015d5a27a7027477f40b04a8dbbe4f562ef25f (patch)
treeb7fa6a42c21c6e83396a416bc193b1547fde0754 /gutils.c
parente4199bbcaf988eae34011433d7990fc9b35c5d44 (diff)
downloadglib-e0015d5a27a7027477f40b04a8dbbe4f562ef25f.tar.gz
jgarzik enthusiastically applies a patch
Diffstat (limited to 'gutils.c')
-rw-r--r--gutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gutils.c b/gutils.c
index 67b4f0b00..c5b7e2474 100644
--- a/gutils.c
+++ b/gutils.c
@@ -452,10 +452,10 @@ g_get_any_init (void)
pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
if (pw)
break;
- error = errno;
# endif /* HAVE_GETPWUID_R_POSIX */
+ error = errno;
if (error != ERANGE)
- g_warning( "Could not read account information: %s",
+ g_error ("Could not read account information: %s",
g_strerror (error));
bufsize *= 2;
}