summaryrefslogtreecommitdiffstats
path: root/common/blspec.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-10-10 08:31:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-10-10 08:31:07 +0200
commitbfdb14c7dacf3e50a27b749259f6660ab9e930d5 (patch)
treefe81dec7194671caee4e94ac7fb68fe6e519e6df /common/blspec.c
parentdf75f19871d764c421cbce19f502ea863e5affd4 (diff)
parente4a45c096136deaf56a200054c46f474250cc89c (diff)
downloadbarebox-bfdb14c7dacf3e50a27b749259f6660ab9e930d5.tar.gz
barebox-bfdb14c7dacf3e50a27b749259f6660ab9e930d5.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'common/blspec.c')
-rw-r--r--common/blspec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/blspec.c b/common/blspec.c
index 82b61f8741..ec63ddb407 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);
@@ -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)
{