Message ID | 20240417231650.GE11948@frogsfrogsfrogs (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | libxfs: print the device name if flush-on-close fails | expand |
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/libxfs/init.c b/libxfs/init.c index 1e035c48f57f..6ac9d682490a 100644 --- a/libxfs/init.c +++ b/libxfs/init.c @@ -171,8 +171,8 @@ libxfs_device_close( if (ret) { ret = -errno; fprintf(stderr, - _("%s: flush of device %lld failed, err=%d"), - progname, (long long)dev, ret); + _("%s: flush of device %s failed, err=%d"), + progname, dev->name, ret); } close(dev->fd);