aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
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;
}