bspatch error should be errx instead of err
authorMatthew Endsley <mendsley@gmail.com>
Mon, 14 May 2012 09:10:18 +0000 (02:10 -0700)
committerMatthew Endsley <mendsley@gmail.com>
Mon, 14 May 2012 09:10:18 +0000 (02:10 -0700)
bspatch.c

index 9265a96..d9929b8 100644 (file)
--- a/bspatch.c
+++ b/bspatch.c
@@ -190,7 +190,7 @@ int main(int argc,char * argv[])
        req.stream.read = bz2_read;
        req.stream.opaque = bz2;
        if (bspatch(req))
-               err(1, "bspatch");
+               errx(1, "bspatch");
 
        /* Clean up the bzip2 reads */
        BZ2_bzReadClose(&bz2err, bz2);