All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/8] fdisk: standarize version output
@ 2012-04-16  9:44 Davidlohr Bueso
  2012-04-23 10:16 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2012-04-16  9:44 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux

From: Davidlohr Bueso <dave@gnu.org>

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 fdisk/fdisk.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c
index 0ccabb7..0954028 100644
--- a/fdisk/fdisk.c
+++ b/fdisk/fdisk.c
@@ -2960,8 +2960,8 @@ main(int argc, char **argv) {
 			break;
 		case 'V':
 		case 'v':
-			printf("fdisk (%s)\n", PACKAGE_STRING);
-			exit(0);
+			printf(UTIL_LINUX_VERSION);
+			return EXIT_SUCCESS;
 		default:
 			usage(stderr);
 		}
-- 
1.7.4.1





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

* Re: [PATCH 2/8] fdisk: standarize version output
  2012-04-16  9:44 [PATCH 2/8] fdisk: standarize version output Davidlohr Bueso
@ 2012-04-23 10:16 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-04-23 10:16 UTC (permalink / raw)
  To: Davidlohr Bueso; +Cc: util-linux

On Mon, Apr 16, 2012 at 11:44:36AM +0200, Davidlohr Bueso wrote:
> fdisk/fdisk.c |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

end of thread, other threads:[~2012-04-23 10:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-16  9:44 [PATCH 2/8] fdisk: standarize version output Davidlohr Bueso
2012-04-23 10:16 ` Karel Zak

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.