From 0b3682d68e7687a34b49e986fb7695fe210edc64 Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 28 Apr 2004 06:25:48 +0000 Subject: [PATCH] Quiet print format warning on ia64. --- lustre/ptlrpc/pinger.c | 3 ++- lustre/ptlrpc/service.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/ptlrpc/pinger.c b/lustre/ptlrpc/pinger.c index 551ec6f..66a988c 100644 --- a/lustre/ptlrpc/pinger.c +++ b/lustre/ptlrpc/pinger.c @@ -81,7 +81,8 @@ static int ptlrpc_pinger_main(void *arg) SIGNAL_MASK_UNLOCK(current, flags); LASSERTF(strlen(data->name) < sizeof(current->comm), - "name %d > len %d\n",strlen(data->name),sizeof(current->comm)); + "name %d > len %d\n", + (int)strlen(data->name), (int)sizeof(current->comm)); THREAD_NAME(current->comm, sizeof(current->comm) - 1, "%s", data->name); unlock_kernel(); diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 8b63519..dae2e5d 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -664,7 +664,8 @@ static int ptlrpc_main(void *arg) SIGNAL_MASK_UNLOCK(current, flags); LASSERTF(strlen(data->name) < sizeof(current->comm), - "name %d > len %d\n",strlen(data->name),sizeof(current->comm)); + "name %d > len %d\n", + (int)strlen(data->name), (int)sizeof(current->comm)); THREAD_NAME(current->comm, sizeof(current->comm) - 1, "%s", data->name); unlock_kernel(); -- 1.8.3.1