netapi: fix group_getusers example.
authorGünther Deschner <gd@samba.org>
Mon, 8 Sep 2008 14:43:06 +0000 (16:43 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 11 Sep 2008 12:30:18 +0000 (14:30 +0200)
Guenther
(This used to be commit a977e18a669a220fd3f98161ced5bebd642e628b)

source3/lib/netapi/examples/group/group_getusers.c

index 55d0717aa57545e3b745e41576c8198898ee39f4..72e79ec3a2c6b8614a2e10a1fe717f8701074c2d 100644 (file)
@@ -105,11 +105,11 @@ int main(int argc, const char **argv)
                        for (i=0; i<entries_read; i++) {
                                switch (level) {
                                        case 0:
-                                               printf("#%d group: %s\n", i, info0->grui0_name);
+                                               printf("#%d member: %s\n", i, info0->grui0_name);
                                                info0++;
                                                break;
                                        case 1:
-                                               printf("#%d group: %s\n", i, info1->grui1_name);
+                                               printf("#%d member: %s\n", i, info1->grui1_name);
                                                printf("#%d attributes: %d\n", i, info1->grui1_attributes);
                                                info1++;
                                                break;