diff options
author | tnn <tnn@pkgsrc.org> | 2015-10-23 17:00:28 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-10-23 17:00:28 +0000 |
commit | a998d696b6fe72a6ad14479a0f7c63853a487abd (patch) | |
tree | d44eceb61ea9d1c46b3a51a3eb75847314becbbf /sysutils | |
parent | 68f80c375abf87b31d5d7531a70d79787bcc25d1 (diff) | |
download | pkgsrc-a998d696b6fe72a6ad14479a0f7c63853a487abd.tar.gz |
don't use sprintf %m
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xentools45/distinfo | 3 | ||||
-rw-r--r-- | sysutils/xentools45/patches/patch-tools_console_daemon_utils.c | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/sysutils/xentools45/distinfo b/sysutils/xentools45/distinfo index 2f457aea8ff..16d60ef0895 100644 --- a/sysutils/xentools45/distinfo +++ b/sysutils/xentools45/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2015/08/23 17:02:58 spz Exp $ +$NetBSD: distinfo,v 1.11 2015/10/23 17:00:28 tnn Exp $ SHA1 (ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz) = fecadf952821e830ce1a1d19655288eef8488f88 RMD160 (ipxe-git-9a93db3f0947484e30e753bbd61a10b17336e20e.tar.gz) = 539bfa12db7054228250d6dd380bbf96c1a040f8 @@ -62,4 +62,5 @@ SHA1 (patch-qemu-xen_audio_audio.c) = 8452d63fe90e38a64111d0cf425bacd565fe6d82 SHA1 (patch-qemu-xen_qemu-doc.texi) = 721e80d15ac30ac71df3d6c4c485b0bf70897cf9 SHA1 (patch-qemu-xen_util_hbitmap.c) = 5a495ae2b47d1ff6dd342633b8d655582f21dffe SHA1 (patch-qemu-xen_xen-hvm.c) = 11d4deb5de577e8beb2d1c6c3ca886e3d7563f8a +SHA1 (patch-tools_console_daemon_utils.c) = 1c1a62f7e7ba9054548cd143cf5f8292e6f41985 SHA1 (patch-xenstore_xc.c) = 51b39e9929062e72d0ff85f0ee6d13a6ac04ac65 diff --git a/sysutils/xentools45/patches/patch-tools_console_daemon_utils.c b/sysutils/xentools45/patches/patch-tools_console_daemon_utils.c new file mode 100644 index 00000000000..4f95b4d75f2 --- /dev/null +++ b/sysutils/xentools45/patches/patch-tools_console_daemon_utils.c @@ -0,0 +1,20 @@ +$NetBSD: patch-tools_console_daemon_utils.c,v 1.1 2015/10/23 17:00:28 tnn Exp $ + +--- tools/console/daemon/utils.c.orig 2015-06-22 13:41:35.000000000 +0000 ++++ tools/console/daemon/utils.c +@@ -113,13 +113,13 @@ bool xen_setup(void) + xs = xs_daemon_open(); + if (xs == NULL) { + dolog(LOG_ERR, +- "Failed to contact xenstore (%m). Is it running?"); ++ "Failed to contact xenstore (%s). Is it running?", strerror(errno)); + goto out; + } + + xc = xc_interface_open(0,0,0); + if (!xc) { +- dolog(LOG_ERR, "Failed to contact hypervisor (%m)"); ++ dolog(LOG_ERR, "Failed to contact hypervisor (%s)", strerror(errno)); + goto out; + } + |