Fix a wrong name in a debug print statement.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 11 May 2011 12:51:01 +0000 (12:51 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 11 May 2011 12:51:01 +0000 (12:51 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37061 f5534014-38df-0310-8fa8-9805f1628bb7

wiretap/pcapng.c

index 5a10b65a585807791fb3232da9362380c5218f7f..804bc50c81abfc41ce5c0b497c5576986b1f182c 100644 (file)
@@ -368,7 +368,7 @@ pcapng_read_option(FILE_T fh, pcapng_t *pn, pcapng_option_header_t *oh,
        errno = WTAP_ERR_CANT_READ;
        bytes_read = file_read(content, oh->option_length, fh);
        if (bytes_read != oh->option_length) {
-               pcapng_debug1("pcapng_read_if_descr_block: failed to read content of option %u", oh->option_code);
+               pcapng_debug1("pcapng_read_option: failed to read content of option %u", oh->option_code);
                *err = file_error(fh, err_info);
                if (*err != 0)
                        return -1;