Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 14adce0427c8e89a95120b62c48d6af0 > files > 1

etrace-1.1-15.mga7.src.rpm

Index: trace.c
===================================================================
--- trace.c
+++ trace.c	2009-11-10 02:37:45.000000000 +0100
@@ -39,7 +39,7 @@
 			err(EX_OSERR, "inet_aton() failed");
 		logmsg(llDEBUG, "Resolving hostname\n");
 		if ((host = gethostbyname(target)) == NULL)
-			errx(EX_NOHOST, hstrerror(h_errno));
+			errx(EX_NOHOST, "%s", hstrerror(h_errno));
 		memcpy(&options.target, (struct in_addr *)host->h_addr,
 		    sizeof(options.target));
 	}