]> granicus.if.org Git - zziplib/commit
zzip: memdisk: fix wrong formatter
authorPatrick Steinhardt <ps@pks.im>
Tue, 21 May 2019 11:41:15 +0000 (13:41 +0200)
committerPatrick Steinhardt <ps@pks.im>
Thu, 1 Aug 2019 06:33:34 +0000 (08:33 +0200)
commite674a53f76fc23018257b8d2637f73e57a8f78af
tree01ecc70b72064401e9e525cde1641dab771274cd
parentdbea1333ed9e6bcb6f7c21902cafa8117a25379d
zzip: memdisk: fix wrong formatter

In `zzip_mem_disk_fdopen`, there's two debug calls with format strings
that print out the file descriptor that we're about to open. While the
first format string correctly uses "%i" to print the integer, the second
one accidentally uses "%s". Fix this by using "%i" for both.
zzip/memdisk.c