chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] udev_volume_id: volume_id version 032
[elogind.git]
/
extras
/
volume_id
/
volume_id
/
xfs
/
xfs.c
diff --git
a/extras/volume_id/volume_id/xfs/xfs.c
b/extras/volume_id/volume_id/xfs/xfs.c
index b73f565eeea0df1319a4ef804bab56f2a46b3a79..67ae2f07d5cedac87a7a585eb9cf58b7eec7f95a 100644
(file)
--- a/
extras/volume_id/volume_id/xfs/xfs.c
+++ b/
extras/volume_id/volume_id/xfs/xfs.c
@@
-60,7
+60,7
@@
int volume_id_probe_xfs(struct volume_id *id, __u64 off)
if (xs == NULL)
return -1;
- if (
strn
cmp(xs->magic, "XFSB", 4) != 0)
+ if (
mem
cmp(xs->magic, "XFSB", 4) != 0)
return -1;
volume_id_set_label_raw(id, xs->fname, 12);