Commit ee5d67dc authored by Rob Latham's avatar Rob Latham

group serialize file: better error reporting

parent 05a4fb8e
...@@ -1533,8 +1533,8 @@ int ssg_group_id_store( ...@@ -1533,8 +1533,8 @@ int ssg_group_id_store(
fd = open(file_name, O_WRONLY | O_CREAT | O_TRUNC, 0644); fd = open(file_name, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if (fd < 0) if (fd < 0)
{ {
fprintf(stderr, "Error: Unable to open file %s for storing SSG group ID\n", fprintf(stderr, "Error: Unable to open file %s for storing SSG group ID: %s\n",
file_name); file_name, strerror(errno));
return SSG_FAILURE; return SSG_FAILURE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment