Rename function for accuracy

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
This commit is contained in:
Ikey Doherty
2016-06-16 16:39:59 +01:00
parent c6138d0337
commit f2ed6a76fb
+2 -2
View File
@@ -234,7 +234,7 @@ next:
* Use libblkid to determine the parent disk for the given path,
* in order to facilitate partition enumeration
*/
static bool get_parent_disk(char *path, dev_t *diskdevno)
static bool get_parent_disk_devno(char *path, dev_t *diskdevno)
{
struct stat st = { 0 };
dev_t ret;
@@ -264,7 +264,7 @@ char *get_legacy_boot_device(char *path)
dev_t whole_disk = 0;
char *ret = NULL;
if (!get_parent_disk(path, &whole_disk)) {
if (!get_parent_disk_devno(path, &whole_disk)) {
return NULL;
}