Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb14d5
)
b=15732
author
walter
<walter>
Sat, 10 May 2008 15:26:07 +0000
(15:26 +0000)
committer
walter
<walter>
Sat, 10 May 2008 15:26:07 +0000
(15:26 +0000)
i=walter
Land Andreas' original fix for catamount build errors
lustre/obdclass/obd_config.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/obd_config.c
b/lustre/obdclass/obd_config.c
index
ccaa00d
..
7cbba44
100644
(file)
--- a/
lustre/obdclass/obd_config.c
+++ b/
lustre/obdclass/obd_config.c
@@
-196,8
+196,8
@@
int class_attach(struct lustre_cfg *lcfg)
len = strlen(uuid);
if (len >= sizeof(obd->obd_uuid)) {
- CERROR("uuid must be <
"LPSZ"
bytes long\n",
- sizeof(obd->obd_uuid));
+ CERROR("uuid must be <
%d
bytes long\n",
+
(int)
sizeof(obd->obd_uuid));
GOTO(out, rc = -EINVAL);
}
memcpy(obd->obd_uuid.uuid, uuid, len);