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:
ab8758c
)
Branch b1_6
author
adilger
<adilger>
Thu, 24 May 2007 21:28:00 +0000
(21:28 +0000)
committer
adilger
<adilger>
Thu, 24 May 2007 21:28:00 +0000
(21:28 +0000)
Quiet signed-vs-unsigned pointer warning.
lustre/utils/mkfs_lustre.c
patch
|
blob
|
history
diff --git
a/lustre/utils/mkfs_lustre.c
b/lustre/utils/mkfs_lustre.c
index
222a7be
..
75a5d6d
100644
(file)
--- a/
lustre/utils/mkfs_lustre.c
+++ b/
lustre/utils/mkfs_lustre.c
@@
-729,7
+729,7
@@
int write_local_files(struct mkfs_opts *mop)
/* Copy the old mdt log to fsname-MDT0000 (get old
name from mdt_UUID) */
ret = 1;
- strscpy(filepnm, mop->mo_ldd.ldd_uuid, sizeof(filepnm));
+ strscpy(filepnm,
(char *)
mop->mo_ldd.ldd_uuid, sizeof(filepnm));
term = strstr(filepnm, "_UUID");
if (term) {
*term = '\0';