testsuit: Fix fprintf format.
[sfrench/samba-autobuild/.git] / testsuite / nsswitch / getgrent_r.c
index 4f1f0ce8f5ec8fb34a297453990ca797d26e2b36..883c897736fcdf5235f960a864ce20be0e64403c 100644 (file)
@@ -32,7 +32,7 @@ void dump_grent(char *id)
     setgrent();
         
     while((gr = getgrent()) != NULL) {
-        fprintf(fptr,"%s:%s:%d:%d\n", gr->gr_name, gr->gr_passwd,
+        fprintf(fptr,"%s:%s:%d\n", gr->gr_name, gr->gr_passwd,
                 gr->gr_gid);
     }