mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
o added brackets to make t->name = (char *) (t + 1) more explicit
This commit is contained in:
parent
4dd99b7623
commit
4a6a800fd8
@ -61,7 +61,7 @@ int register_map_target(const char *name, dm_ctr_fn ctr,
|
|||||||
return -1; /* FIXME: what's a good return value ? */
|
return -1; /* FIXME: what's a good return value ? */
|
||||||
}
|
}
|
||||||
|
|
||||||
t->name = (char *) t + 1;
|
t->name = (char *) (t + 1);
|
||||||
strcpy(t->name, name);
|
strcpy(t->name, name);
|
||||||
|
|
||||||
t->ctr = ctr;
|
t->ctr = ctr;
|
||||||
|
Loading…
Reference in New Issue
Block a user