gcc 11 warns that stack_f doesn't allocate a sufficiently large buffer
to hold the printf output. I don't think the io cursor stack is really
going to grow to 4 billion levels deep, but let's fix this anyway.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
char **argv)
{
int i;
- char tagbuf[8];
+ char tagbuf[14];
for (i = iocur_sp; i > 0; i--) {
snprintf(tagbuf, sizeof(tagbuf), "%d: ", i);