]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Bugfix
authorSergey Poznyakoff <gray@gnu.org>
Fri, 25 Oct 2024 06:50:22 +0000 (09:50 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Fri, 25 Oct 2024 06:50:22 +0000 (09:50 +0300)
This fixes an extra argument left over in a function call by commit
0dfcfa4aa4.  Reported by Matteo Croce.

* src/buffer.c (_open_archive): Fix extra argument to paxfatal.

src/buffer.c

index 48ae840f665325df423122d3dedd03e06af2d58f..570c8666bc24d202abff70e6516c44913d397117 100644 (file)
@@ -724,7 +724,7 @@ _open_archive (enum access_mode wanted_access)
   bool backed_up_flag = false;
 
   if (record_size == 0)
-    paxfatal (0, 0, _("Invalid value for record_size"));
+    paxfatal (0, _("Invalid value for record_size"));
 
   if (archive_names == 0)
     paxfatal (0, _("No archive name given"));