diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-07-30 15:36:20 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-07-30 15:36:20 +0000 |
commit | 9dc2c07159d319856b5fc0cc9a4fb20ab0f55657 (patch) | |
tree | cf7cc94c36d1f8c01134629250d7eed6f33cd2de | |
parent | 0a15cc620829179e98a3f8bfab7652d2ba2a708f (diff) |
add missing " when printing an error string. ok henning@
-rw-r--r-- | usr.sbin/tcpdump/print-tftp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-tftp.c b/usr.sbin/tcpdump/print-tftp.c index faab72c2741..4f7dd1da5e4 100644 --- a/usr.sbin/tcpdump/print-tftp.c +++ b/usr.sbin/tcpdump/print-tftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-tftp.c,v 1.8 2007/10/07 16:41:05 deraadt Exp $ */ +/* $OpenBSD: print-tftp.c,v 1.9 2009/07/30 15:36:19 sthen Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997 @@ -25,7 +25,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Id: print-tftp.c,v 1.8 2007/10/07 16:41:05 deraadt Exp $ (LBL)"; + "@(#) $Id: print-tftp.c,v 1.9 2009/07/30 15:36:19 sthen Exp $ (LBL)"; #endif #include <sys/param.h> @@ -126,6 +126,7 @@ tftp_print(register const u_char *bp, u_int length) printf(" %s ", tok2str(err2str, "tftp-err-#%d \"", ntohs(tp->th_code))); /* Print error message string */ + putchar('"'); i = fn_print((const u_char *)tp->th_data, snapend); putchar('"'); if (i) |