From 583b7aa7d91c25897f87dfe9cb299a696aa0e79f Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 7 Aug 2014 15:01:16 +0200 Subject: [PATCH] conf, virDomainFSDefPtr: rename "path" argument to "target" Signed-off-by: Giuseppe Scrivano --- src/conf/domain_conf.c | 4 ++-- src/conf/domain_conf.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 25d33c7ce9..14338baaa7 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -18893,12 +18893,12 @@ virDomainFSRemove(virDomainDefPtr def, size_t i) virDomainFSDefPtr virDomainGetFilesystemForTarget(virDomainDefPtr def, - const char *path) + const char *target) { size_t i; for (i = 0; i < def->nfss; i++) { - if (STREQ(def->fss[i]->dst, path)) + if (STREQ(def->fss[i]->dst, target)) return def->fss[i]; } diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index ff7d640654..90742f2f4a 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -2485,7 +2485,7 @@ int virDiskNameToBusDeviceIndex(virDomainDiskDefPtr disk, int *devIdx); virDomainFSDefPtr virDomainGetFilesystemForTarget(virDomainDefPtr def, - const char *path); + const char *target); int virDomainFSInsert(virDomainDefPtr def, virDomainFSDefPtr fs); int virDomainFSIndexByName(virDomainDefPtr def, const char *name); virDomainFSDefPtr virDomainFSRemove(virDomainDefPtr def, size_t i); -- GitLab