summaryrefslogtreecommitdiff
path: root/usr.bin/tn3270
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-12-09 11:58:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-12-09 11:58:43 +0000
commit4b73b657f67f867a87377d1415dc921fb49525ce (patch)
tree237636a7ff1fe773edf38befc00da349c18aa93c /usr.bin/tn3270
parent7495441411bf2c40e50cbc464f7d240c70575276 (diff)
missing printf arg; from Alf Schlichting
Diffstat (limited to 'usr.bin/tn3270')
-rw-r--r--usr.bin/tn3270/tools/prt3270.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tn3270/tools/prt3270.c b/usr.bin/tn3270/tools/prt3270.c
index b030b2d0759..cde0f12b4d5 100644
--- a/usr.bin/tn3270/tools/prt3270.c
+++ b/usr.bin/tn3270/tools/prt3270.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prt3270.c,v 1.5 2003/06/03 02:56:19 millert Exp $ */
+/* $OpenBSD: prt3270.c,v 1.6 2003/12/09 11:58:42 mickey Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
@@ -37,7 +37,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)prt3270.c 4.2 (Berkeley) 4/26/91";*/
-static char rcsid[] = "$OpenBSD: prt3270.c,v 1.5 2003/06/03 02:56:19 millert Exp $";
+static char rcsid[] = "$OpenBSD: prt3270.c,v 1.6 2003/12/09 11:58:42 mickey Exp $";
#endif /* not lint */
#if defined(unix)
@@ -518,7 +518,7 @@ int c;
{
if (!isascii(c)) {
fflush(stdout);
- fprintf(stderr, "Non-hex digit 0x%x.\n");
+ fprintf(stderr, "Non-hex digit 0x%x.\n", c);
fflush(stderr);
return 0;
} else {