mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: Add comment explaining why we remove 'p' character.
No code change, just a comment.
Updates commit 6fd2ddb350.
This commit is contained in:
@@ -215,6 +215,7 @@ do_part_to_dev (const char *part)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Deal with <device>p<N> partition names such as /dev/md0p1. */
|
||||
if (part[n-1] == 'p')
|
||||
n--;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user