From: Darrick J. Wong Date: Tue, 25 Jun 2019 21:04:42 +0000 (-0400) Subject: xfs_io: repair_f should use its own name X-Git-Tag: v5.1.0-rc1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f157221998daa58c2ff7742e3e974264aff56e2d;p=thirdparty%2Fxfsprogs-dev.git xfs_io: repair_f should use its own name If the repair command fails, it should tag the error message with its own name ("repair"). Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- diff --git a/io/scrub.c b/io/scrub.c index 2ff1a6afb..052497be5 100644 --- a/io/scrub.c +++ b/io/scrub.c @@ -293,7 +293,7 @@ repair_ioctl( error = ioctl(fd, XFS_IOC_SCRUB_METADATA, &meta); if (error) - perror("scrub"); + perror("repair"); if (meta.sm_flags & XFS_SCRUB_OFLAG_CORRUPT) printf(_("Corruption remains.\n")); if (meta.sm_flags & XFS_SCRUB_OFLAG_PREEN)