All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxfs: report VERSION in libxfs_fs_repair_cmn_err()
@ 2015-01-30  6:28 Eric Sandeen
  2015-02-02 16:27 ` Brian Foster
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2015-01-30  6:28 UTC (permalink / raw)
  To: xfs-oss

Because this is usually the first question asked...

Signed-off-by: Eric Sandeen <sandeen@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@oss.sgi.com.\n");
 	va_end(ap);

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libxfs: report VERSION in libxfs_fs_repair_cmn_err()
  2015-01-30  6:28 [PATCH] libxfs: report VERSION in libxfs_fs_repair_cmn_err() Eric Sandeen
@ 2015-02-02 16:27 ` Brian Foster
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Foster @ 2015-02-02 16:27 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs-oss

On Fri, Jan 30, 2015 at 12:28:23AM -0600, Eric Sandeen wrote:
> Because this is usually the first question asked...
> 
> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
> ---

Good idea.

Reviewed-by: Brian Foster <bfoster@redhat.com>

> 
> 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@oss.sgi.com.\n");
>  	va_end(ap);
> 
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-02 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30  6:28 [PATCH] libxfs: report VERSION in libxfs_fs_repair_cmn_err() Eric Sandeen
2015-02-02 16:27 ` Brian Foster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.