From 629f5ec95c2bf7ded9ca1847a91636d788d76a5d Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 15 Nov 1996 18:26:36 +0000 Subject: [PATCH] Print out display and not display_nr git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@969 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/kx/kx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appl/kx/kx.c b/appl/kx/kx.c index 72090f221..ca3cfa5fb 100644 --- a/appl/kx/kx.c +++ b/appl/kx/kx.c @@ -383,14 +383,14 @@ doit (char *host, int passivep, int debugp, int tcpp) fn = active; } if(debugp) - printf ("%u\t%d\t%s\n", (unsigned)getpid(), display_num, xauthfile); + printf ("%u\t%s\t%s\n", (unsigned)getpid(), display, xauthfile); else { pid = fork(); if (pid < 0) { fprintf (stderr, "%s: fork: %s\n", prog, strerror(errno)); return 1; } else if (pid > 0) { - printf ("%u\t%d\t%s\n", (unsigned)pid, display_num, xauthfile); + printf ("%u\t%s\t%s\n", (unsigned)pid, display, xauthfile); exit (0); } else { fclose(stdout);