[PATCH] xfsdump: fill in missing strerror() call
Christoph Hellwig
hch at infradead.org
Thu Dec 27 01:44:10 CST 2012
On Wed, Dec 26, 2012 at 04:25:19PM -0600, Alex Elder wrote:
> Nigel Tamplin reported getting a seg fault in xfsrestore when a path
> name was too long.
>
> Based on the surrounding code, I'm sure strerror(errno) was the
> intended final argument to this call. This bug has been there
> since the code was first committed.
Seems like mlog needs an attribute marking it as printf-like.
I'll see if I can come up with a patch for that.
More information about the xfs
mailing list