aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/natSystem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/natSystem.cc b/libjava/java/lang/natSystem.cc
index 10acfce..27034ff 100644
--- a/libjava/java/lang/natSystem.cc
+++ b/libjava/java/lang/natSystem.cc
@@ -276,7 +276,7 @@ java::lang::System::init_properties (void)
buf_r = (char *) _Jv_AllocBytes (len_r);
}
#else
- struct passwd *pwd_entry = getpwuid (user_id);
+ pwd_entry = getpwuid (user_id);
#endif /* HAVE_GETPWUID_R */
if (pwd_entry != NULL)