]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Update to use the new "libarchive frontend" common functions.
authorTim Kientzle <kientzle@gmail.com>
Fri, 12 Jun 2009 04:09:55 +0000 (00:09 -0400)
committerTim Kientzle <kientzle@gmail.com>
Fri, 12 Jun 2009 04:09:55 +0000 (00:09 -0400)
SVN-Revision: 1154

tar/siginfo.c

index 9b00cfa8be8c13dc5b03db057aaac58990d2842a..fd082065ee98b1eb5e8c7ccb1800595911938140 100644 (file)
@@ -86,12 +86,12 @@ siginfo_init(struct bsdtar *bsdtar)
        sa.sa_flags = 0;
 #ifdef SIGINFO
        if (sigaction(SIGINFO, &sa, &bsdtar->siginfo->siginfo_old))
-               bsdtar_errc(bsdtar, 1, errno, "sigaction(SIGINFO) failed");
+               lafe_errc(1, errno, "sigaction(SIGINFO) failed");
 #endif
 #ifdef SIGUSR1
        /* ... and treat SIGUSR1 the same way as SIGINFO. */
        if (sigaction(SIGUSR1, &sa, &bsdtar->siginfo->sigusr1_old))
-               bsdtar_errc(bsdtar, 1, errno, "sigaction(SIGUSR1) failed");
+               lafe_errc(1, errno, "sigaction(SIGUSR1) failed");
 #endif
 }