Skip to content

Commit

Permalink
Add debugging info about block device named paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasssadar committed Feb 14, 2016
1 parent 1a55164 commit 3a5eb20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trampoline/devices.c
Expand Up @@ -606,6 +606,7 @@ static char **parse_platform_block_device(struct uevent *uevent)
if (uevent->partition_name) {
p = strdup(uevent->partition_name);
sanitize(p);
DEBUG("Linking partition '%s' as '%s', %s/by-name/%s\n", uevent->partition_name, p, link_path, p);
if (strcmp(uevent->partition_name, p))
INFO("Linking partition '%s' as '%s'\n", uevent->partition_name, p);
if (asprintf(&links[link_num], "%s/by-name/%s", link_path, p) > 0)
Expand Down

0 comments on commit 3a5eb20

Please sign in to comment.