Commit 255e910d authored by Shane Snyder's avatar Shane Snyder

print nodename in ssg_dump

parent a9853488
......@@ -1092,7 +1092,6 @@ void ssg_group_dump(
if (group_descriptor->owner_status == SSG_OWNER_IS_MEMBER)
fprintf(stderr, "MEMBER DUMP\n");
ssg_group_t *g;
......@@ -1135,9 +1134,12 @@ void ssg_group_dump(
if (group_view)
ssg_member_state_t *member_state, *tmp_ms;
char hostname[1024];
gethostname(hostname, 1024);
printf("SSG membership information for group '%s':\n", group_name);
printf("\trole: '%s'\n", group_role);
printf("\trole: %s\n", group_role);
printf("\thost: %s\n", hostname);
if (strcmp(group_role, "member") == 0)
printf("\tself_id: %s\n", group_self_id);
printf("\tsize: %d\n", group_size);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment