1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

o added brackets to make t->name = (char *) (t + 1) more explicit

This commit is contained in:
Joe Thornber 2001-08-22 15:12:31 +00:00
parent 4dd99b7623
commit 4a6a800fd8

View File

@ -61,7 +61,7 @@ int register_map_target(const char *name, dm_ctr_fn ctr,
return -1; /* FIXME: what's a good return value ? */
}
t->name = (char *) t + 1;
t->name = (char *) (t + 1);
strcpy(t->name, name);
t->ctr = ctr;