Mercurial > nand-ecoscentric
changeset 2196:5c4a2415fdf4
* src/common/tty.c (tty_init): Fix compiler warning with
diag_printf() arguments.
| author | asl |
|---|---|
| date | Tue, 09 May 2006 16:08:20 +0000 |
| parents | 5c5e93c863ac |
| children | eb767a98013a |
| files | packages/io/serial/current/ChangeLog packages/io/serial/current/src/common/tty.c |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/serial/current/ChangeLog +++ b/packages/io/serial/current/ChangeLog @@ -1,3 +1,8 @@ +2006-05-09 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/common/tty.c (tty_init): Fix compiler warning with + diag_printf() arguments. + 2005-09-02 Sebastien Couret <sebastien.couret@elios-informatique.fr> * src/common/termiostty.c and
--- a/packages/io/serial/current/src/common/tty.c +++ b/packages/io/serial/current/src/common/tty.c @@ -132,7 +132,7 @@ tty_init(struct cyg_devtab_entry *tab) { struct tty_private_info *priv = (struct tty_private_info *)tab->priv; #ifdef CYGDBG_IO_INIT - diag_printf("Init tty channel: %x\n", tab); + diag_printf("Init tty channel: %p\n", tab); #endif priv->dev_info.tty_out_flags = CYG_TTY_OUT_FLAGS_DEFAULT; priv->dev_info.tty_in_flags = CYG_TTY_IN_FLAGS_DEFAULT;
