From d60230bded854fe5a357c77038cf6089defcfd24 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 15 Sep 2016 12:51:27 +0200 Subject: convert users to %pI4 Convert users of ip_to_string() and print_IPaddr() to %pI4 and remove the now unused functions. Signed-off-by: Sascha Hauer --- common/blspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/blspec.c') diff --git a/common/blspec.c b/common/blspec.c index f02f5e9ce3..b45bd291e9 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -306,7 +306,7 @@ static char *parse_nfs_url(const char *url) if (ip == 0) goto out; - hostpath = basprintf("%s:%s", ip_to_string(ip), path); + hostpath = basprintf("%pI4:%s", &ip, path); prevpath = nfs_find_mountpath(hostpath); -- cgit v1.2.3 From 322890fa62ff98e3d96465d7a202306a0e4f2687 Mon Sep 17 00:00:00 2001 From: Ulrich Ölmann Date: Tue, 27 Sep 2016 09:33:12 +0200 Subject: blspec: fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Ölmann Signed-off-by: Sascha Hauer --- common/blspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/blspec.c') diff --git a/common/blspec.c b/common/blspec.c index b45bd291e9..98e2b01c17 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -348,7 +348,7 @@ out: * entry_is_of_compatible - check if a bootspec entry is compatible with * the current machine. * - * returns true is the entry is compatible, false otherwise + * returns true if the entry is compatible, false otherwise */ static bool entry_is_of_compatible(struct blspec_entry *entry) { -- cgit v1.2.3