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
/
jfs
/
jfs.c
diff --git
a/extras/volume_id/volume_id/jfs/jfs.c
b/extras/volume_id/volume_id/jfs/jfs.c
index 3e7e9d6aea48d91f237fe5c385f9271beed8b48c..c9dce84ecb80c6ab19c48889dc721261783316c9 100644
(file)
--- a/
extras/volume_id/volume_id/jfs/jfs.c
+++ b/
extras/volume_id/volume_id/jfs/jfs.c
@@
-60,7
+60,7
@@
int volume_id_probe_jfs(struct volume_id *id, __u64 off)
if (js == NULL)
return -1;
- if (
strn
cmp(js->magic, "JFS1", 4) != 0)
+ if (
mem
cmp(js->magic, "JFS1", 4) != 0)
return -1;
volume_id_set_label_raw(id, js->label, 16);