[PATCH] libxfs: report VERSION in libxfs_fs_repair_cmn_err()
Eric Sandeen
sandeen at sandeen.net
Fri Jan 30 00:28:23 CST 2015
Because this is usually the first question asked...
Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
---
diff --git a/libxfs/util.c b/libxfs/util.c
index 9504e33..6464a1b 100644
--- a/libxfs/util.c
+++ b/libxfs/util.c
@@ -718,6 +718,7 @@ libxfs_fs_repair_cmn_err(int level, xfs_mount_t *mp, char *fmt, ...)
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
fprintf(stderr, " This is a bug.\n");
+ fprintf(stderr, "%s version %s\n", progname, VERSION);
fprintf(stderr, "Please capture the filesystem metadata with "
"xfs_metadump and\nreport it to xfs at oss.sgi.com.\n");
va_end(ap);
More information about the xfs
mailing list