]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Merge branch 'fileeq_debug' of https://github.com/stoeckmann/util-linux
authorKarel Zak <kzak@redhat.com>
Mon, 23 Feb 2026 12:09:59 +0000 (13:09 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Feb 2026 12:09:59 +0000 (13:09 +0100)
* 'fileeq_debug' of https://github.com/stoeckmann/util-linux:
  lib/fileeq: Extend debug message
  lib/fileeq: Fix formatters

1  2 
lib/fileeq.c

diff --cc lib/fileeq.c
index 67c5c747db1e896d63c272852cc810ed5b21942e,d76ee6e673badc21b298bb63e740e01932b16ac5..d20cd08ceb045215544f17313313f448ca63db1a
@@@ -441,8 -438,10 +441,8 @@@ static ssize_t get_digest(struct ul_fil
                        return -ENOMEM;
        }
  
 -      assert(n <= eq->blocksmax);
 -
        rsz = sendfile(eq->fd_cip, data->fd, NULL, eq->readsiz);
-       DBG(DATA, ul_debugobj(data, "  sent %zu [%zu wanted] to cipher", rsz, eq->readsiz));
+       DBG(DATA, ul_debugobj(data, "  sent %zd [%zu wanted] to cipher", rsz, eq->readsiz));
  
        if (rsz < 0)
                return rsz;