From 405b1c40db007e64e858c107dbc56355a7a05bd2 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jan 2014 02:15:27 +0000 Subject: [PATCH] xasprintf uses format strings. --- external/bsd/pkg_install/dist/lib/lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/bsd/pkg_install/dist/lib/lib.h b/external/bsd/pkg_install/dist/lib/lib.h index d664cd2447fd..d7d07e5d8309 100644 --- a/external/bsd/pkg_install/dist/lib/lib.h +++ b/external/bsd/pkg_install/dist/lib/lib.h @@ -1,4 +1,4 @@ -/* $NetBSD: lib.h,v 1.6 2010/06/26 00:17:13 joerg Exp $ */ +/* $NetBSD: lib.h,v 1.7 2014/01/07 02:15:27 joerg Exp $ */ /* from FreeBSD Id: lib.h,v 1.25 1997/10/08 07:48:03 charnier Exp */ @@ -421,7 +421,7 @@ char *xstrdup(const char *); void *xrealloc(void *, size_t); void *xcalloc(size_t, size_t); void *xmalloc(size_t); -char *xasprintf(const char *, ...); +char *xasprintf(const char *, ...) __printflike(1, 2); /* Externs */ extern Boolean Verbose;