Ethereal-dev: Re: [ethereal-dev] "gcc -Wall" warnings

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Tue, 13 Oct 1998 20:06:05 +0200
> packet-osi.c: In function `osi_decode_DR':
> packet-osi.c:247: warning: too few arguments for format
> 
>         The statement in question is:
> 
>     sprintf(fd->win_info[COL_INFO], "DR TPDU src-ref: 0x%04x dst-ref: 0x%04x %s",
>             src_ref, dst_ref);
> 
>         Not being an OSI TP guru, I don't know what, if anything, should
>         be printed after the "src-ref" and "dst-ref", matching the "%s"
>         - "str"?

Corrected and checked in. Thanks.

Laurent.

--
Laurent DENIEL            | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE             |         deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                          | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.