diff --git a/src/modules/system/configure.in b/src/modules/system/configure.in
index e84f5eecfa22a76ea8799bc6ccdf34c5468e84b4..7bcd02e2ecabb777d2ccfb5ae4efbcf48e18cef6 100644
--- a/src/modules/system/configure.in
+++ b/src/modules/system/configure.in
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.24 1998/05/31 14:06:50 grubba Exp $
+# $Id: configure.in,v 1.25 1998/06/25 13:01:39 grubba Exp $
 AC_INIT(system.c)
 AC_CONFIG_HEADER(system_machine.h)
 
@@ -136,7 +136,7 @@ AC_TRY_COMPILE([
 #endif /* HAVE_SHADOW_H */
 ], [
   struct passwd ent;
-  ent->pw_gecos = "FOO";
+  ent.pw_gecos = "FOO";
 ], pike_cv_struct_has_pw_gecos=yes, pike_cv_struct_has_pw_gecos=no)
 ])