diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-30 13:53:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-30 13:53:02 +0000 |
commit | 352332193c1146a2e82a891d7b72136acc1bee5d (patch) | |
tree | b8bd9bbddc95b9657811b3790225edeb7d3eff8e /cpukit/telnetd/telnetd.c | |
parent | 2006-08-30 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-352332193c1146a2e82a891d7b72136acc1bee5d.tar.bz2 |
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c,
libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c,
libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c,
libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf
format warnings.
Diffstat (limited to 'cpukit/telnetd/telnetd.c')
-rw-r--r-- | cpukit/telnetd/telnetd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index ce5e331976..5f856b005a 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -34,6 +34,7 @@ #include <stdlib.h> #include <string.h> /* memset */ #include <stdio.h> +#include <inttypes.h> /* FIXME: This should not be here */ extern void _rtems_telnetd_register_icmds(void); @@ -124,8 +125,10 @@ int rtems_telnetd_main(int argc,char * argv[]) { if (argc>2) telnetd_task_priority=str2int(argv[2]); sc=rtems_initialize_telnetd(); if (sc!=RTEMS_SUCCESSFUL) return sc; - printf("rtems_telnetd() started with stacksize=%u,priority=%d\n", - telnetd_stack_size,telnetd_task_priority); + printf( + "rtems_telnetd() started with stacksize=%" PRIu32 + ",priority=%" PRId32 "\n", + telnetd_stack_size,telnetd_task_priority); return 0; } /***********************************************************/ |