* to specify the size of the resolved_path argument if given, or the size to
* allocate.
*/
-LTTNG_HIDDEN
+static
char *utils_partial_realpath(const char *path, char *resolved_path, size_t size)
{
char *cut_path = NULL, *try_path = NULL, *try_path_prev = NULL;
}
}
if (ret) {
- PERROR("Failed to get group file entry for group name \"%s\"",
- name);
+ if (ret == ESRCH) {
+ DBG("Could not find group file entry for group name '%s'",
+ name);
+ } else {
+ PERROR("Failed to get group file entry for group name '%s'",
+ name);
+ }
+
ret = -1;
goto error;
}