]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix build failure with implicit declaration of bsdtar_warnc.
authorAndres Mejia <amejia004@gmail.com>
Tue, 16 Aug 2011 23:37:54 +0000 (19:37 -0400)
committerAndres Mejia <amejia004@gmail.com>
Tue, 16 Aug 2011 23:37:54 +0000 (19:37 -0400)
grep did not reveal where bsdtar_warnc was defined, changed to using lafe_warnc.

SVN-Revision: 3631

tar/write.c

index 012132b29f94d2db4797fdf72e78e1c8895e9c51..4a87c5c5779af417ece2ba846a9de1c4add48373 100644 (file)
@@ -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;