From: Andres Mejia Date: Tue, 16 Aug 2011 23:37:54 +0000 (-0400) Subject: Fix build failure with implicit declaration of bsdtar_warnc. X-Git-Tag: v3.0.0a~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a4271b59059bffdee13a85be47a1a4cb376ef6c;p=thirdparty%2Flibarchive.git Fix build failure with implicit declaration of bsdtar_warnc. grep did not reveal where bsdtar_warnc was defined, changed to using lafe_warnc. SVN-Revision: 3631 --- diff --git a/tar/write.c b/tar/write.c index 012132b29..4a87c5c57 100644 --- a/tar/write.c +++ b/tar/write.c @@ -462,7 +462,7 @@ write_archive(struct archive *a, struct bsdtar *bsdtar) goto cleanup; } if (*arg == '\0') { - bsdtar_warnc(bsdtar, 0, + lafe_warnc(0, "Meaningless argument for -C: ''"); bsdtar->return_value = 1; goto cleanup;