Displaying 1 result from an estimated 1 matches for "ncould".
Did you mean:
could
2013 Jul 06
1
[PATCH 1/2] xenstore: don't die on access-denied child nodes in 'xenstore ls'
..._ls(struct xs_handle *h, char *path, int cur_depth, int show_perms
}
}
}
- free(val);
if (show_perms) {
perms = xs_get_permissions(h, XBT_NULL, newpath, &nperms);
if (perms == NULL) {
- warn("\ncould not access permissions for %s", e[i]);
+ if (val != NULL)
+ warn("\ncould not access permissions for %s", e[i]);
}
else {
int i;
@@ -214,6 +219,8 @@ static void do_ls(struct xs_handle *h, char *path, int cur...