aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-03-15 14:05:41 -0700
committerGuy Harris <guy@alum.mit.edu>2020-03-15 21:06:16 +0000
commit5b4af5b65bfdd705165049116ed8e57724b119b0 (patch)
tree63c1c7207f4fb89b3a5f703576ffe2c3805b6db2 /rawshark.c
parentc14a887b2ea4f351c99d598be10779d1b8723b6e (diff)
Remove unwanted newline.
The error message is included in parentheses as part of a larger error message, so you don't want a newline at the end. Change-Id: Iabff74941972504770c45b94b124e25d124b512c Reviewed-on: https://code.wireshark.org/review/36441 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c
index 22286b65bf..8621908693 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -893,7 +893,7 @@ raw_pipe_read(wtap_rec *rec, Buffer *buf, int *err, gchar **err_info, gint64 *da
#endif
if (bytes_needed > WTAP_MAX_PACKET_SIZE_STANDARD) {
*err = WTAP_ERR_BAD_FILE;
- *err_info = g_strdup_printf("Bad packet length: %lu\n",
+ *err_info = g_strdup_printf("Bad packet length: %lu",
(unsigned long) bytes_needed);
return FALSE;
}