forked from osmocom/wireshark
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:
parent
45103068ff
commit
bb005704e2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue