Fix some copy-and-pasteos in error messages.

Change-Id: I1fe3434e69a08aae3d7413067275b3d7ee1552f5
Reviewed-on: https://code.wireshark.org/review/5634
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-12-05 15:46:58 -08:00
parent 45103068ff
commit bb005704e2
1 changed files with 3 additions and 3 deletions

View File

@ -983,7 +983,7 @@ wtap_open_return_val k12_open(wtap *wth, int *err, gchar **err_info) {
/* Record isn't long enough to have a source descriptor extra type field */
*err = WTAP_ERR_BAD_FILE;
*err_info = g_strdup_printf("k12_open: source descriptor record length %u < %u",
rec_len, K12_SRCDESC_DS0_MASK + 12);
rec_len, K12_SRCDESC_DS0_MASK + 32);
destroy_k12_file_data(file_data);
g_free(rec);
return WTAP_OPEN_ERROR;
@ -1001,7 +1001,7 @@ wtap_open_return_val k12_open(wtap *wth, int *err, gchar **err_info) {
/* Record isn't long enough to have a source descriptor extra type field */
*err = WTAP_ERR_BAD_FILE;
*err_info = g_strdup_printf("k12_open: source descriptor record length %u < %u",
rec_len, K12_SRCDESC_DS0_MASK + 12);
rec_len, K12_SRCDESC_ATM_VCI + 2);
destroy_k12_file_data(file_data);
g_free(rec);
return WTAP_OPEN_ERROR;
@ -1019,7 +1019,7 @@ wtap_open_return_val k12_open(wtap *wth, int *err, gchar **err_info) {
/* Record isn't long enough to have a source descriptor extra type field */
*err = WTAP_ERR_BAD_FILE;
*err_info = g_strdup_printf("k12_open: source descriptor record length %u < %u",
rec_len, K12_SRCDESC_DS0_MASK + 12);
rec_len, K12_SRCDESC_PORT_TYPE + 1);
destroy_k12_file_data(file_data);
g_free(rec);
return WTAP_OPEN_ERROR;