diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-15 12:51:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-22 11:30:38 +0200 |
commit | d60230bded854fe5a357c77038cf6089defcfd24 (patch) | |
tree | 6c8b3dc4dee496cda1e1f9da5f53b1fa58a2e5ef /common/blspec.c | |
parent | 581272f8c59a71e8f64a15b6b33bb0d1fc5ac6ba (diff) | |
download | barebox-d60230bded854fe5a357c77038cf6089defcfd24.tar.gz barebox-d60230bded854fe5a357c77038cf6089defcfd24.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'common/blspec.c')
-rw-r--r-- | common/blspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |