Whamcloud - gitweb
LU-1461 Fix ppc64 build errors
[fs/lustre-release.git] / lustre / obdecho / echo_client.c
index 2c21917..0cc6d1d 100644 (file)
@@ -1410,11 +1410,11 @@ echo_copyin_lsm (struct echo_device *ed, struct lov_stripe_md *lsm,
 }
 
 static inline void echo_md_build_name(struct lu_name *lname, char *name,
-                                      __u64 id)
+                                     __u64 id)
 {
-        sprintf(name, "%llu", id);
-        lname->ln_name = name;
-        lname->ln_namelen = strlen(name);
+       sprintf(name, LPU64, id);
+       lname->ln_name = name;
+       lname->ln_namelen = strlen(name);
 }
 
 static int echo_md_create_internal(const struct lu_env *env,