[Pkg-libvirt-commits] [libguestfs] 59/87: fish/uri: Tidy up error messages.
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:10:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository libguestfs.
commit 1d5982ebb3f408d651fb616d43769f28bac802e9
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Jan 23 08:27:30 2014 +0000
fish/uri: Tidy up error messages.
(cherry picked from commit b93a1d50ad1dfe44e6ad2434dbc3f0c71fda7141)
---
fish/uri.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fish/uri.c b/fish/uri.c
index 4c235e3..876d731 100644
--- a/fish/uri.c
+++ b/fish/uri.c
@@ -142,7 +142,7 @@ parse (const char *arg, char **path_ret, char **protocol_ret,
*protocol_ret = strdup (uri->scheme);
if (*protocol_ret == NULL) {
- perror ("strdup");
+ perror ("strdup: protocol");
return -1;
}
@@ -154,7 +154,7 @@ parse (const char *arg, char **path_ret, char **protocol_ret,
if (uri->user && STRNEQ (uri->user, "")) {
*username_ret = strdup (uri->user);
if (*username_ret == NULL) {
- perror ("username");
+ perror ("strdup: username");
free (*protocol_ret);
guestfs___free_string_list (*server_ret);
return -1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list