From be9646971dc400f6123c803f87cf09a31bb40710 Mon Sep 17 00:00:00 2001
From: walter <walter>
Date: Tue, 20 Nov 2007 23:22:28 +0000
Subject: [PATCH] Branch HEAD b=14241 i=adilger i=scjody

trivial fix for type clash in format string to fix compile error on Cray XT3.
---
 lustre/mdc/mdc_request.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/mdc/mdc_request.c b/lustre/mdc/mdc_request.c
index 8eb065dd07..a3d569e409 100644
--- a/lustre/mdc/mdc_request.c
+++ b/lustre/mdc/mdc_request.c
@@ -530,7 +530,7 @@ int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
 
                 if (rc < sizeof(*md->lsm)) {
                         CERROR ("lsm size too small:  rc < sizeof (*md->lsm) "
-                                "(%d < %d)\n", rc, sizeof(*md->lsm));
+                                "(%d < "LPSZ")\n", rc, sizeof(*md->lsm));
                         GOTO(out, rc = -EPROTO);
                 }
 
-- 
GitLab