summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 13:52:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-30 13:52:10 +0000
commit3733a8f3ada6f8380149db66119f053f4987e78e (patch)
treea4b0f7187ea69728a1ee6b606f75dbb7c92f2b9c
parent6738a8207b62894679aa4f624ebf1d762d08104e (diff)
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* src/rpcio.c: Remove printf format warnings.
-rw-r--r--rtemsNfs/ChangeLog4
-rw-r--r--rtemsNfs/src/rpcio.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/rtemsNfs/ChangeLog b/rtemsNfs/ChangeLog
index c5d3a5b..b859d01 100644
--- a/rtemsNfs/ChangeLog
+++ b/rtemsNfs/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-30 Joel Sherrill <joel@OARcorp.com>
+
+ * src/rpcio.c: Remove printf format warnings.
+
Changes since RTEMS-NFS 1.3_pre2:
RPCIOD:
- fix a problem with NFS server clusters (reply comes from an IP address
diff --git a/rtemsNfs/src/rpcio.c b/rtemsNfs/src/rpcio.c
index 912c763..1743a5e 100644
--- a/rtemsNfs/src/rpcio.c
+++ b/rtemsNfs/src/rpcio.c
@@ -66,6 +66,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <inttypes.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -627,7 +628,7 @@ RpcUdpServer s;
s->requests, s->retrans);
fprintf(f," timed out: %10ld, send errors: %10ld\n",
s->timeouts, s->errors);
- fprintf(f," current retransmission interval: %dms\n",
+ fprintf(f," current retransmission interval: %" PRId32 "ms\n",
s->retry_period * 1000 / ticksPerSec );
}
MU_UNLOCK(llock);