Merge pull request #316 from mmichal10/update-example-adapter
Update example adapter
This commit is contained in:
commit
e6bdc2d247
@ -19,7 +19,7 @@ all: sync
|
||||
$(MAKE) $(PROGRAM)
|
||||
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(CC) $(LDFLAGS) -o $@ $^
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
sync:
|
||||
@$(MAKE) -C ${OCFDIR} inc O=$(PWD)
|
||||
|
@ -207,7 +207,7 @@ int initialize_core(ocf_cache_t cache, ocf_core_t *core)
|
||||
|
||||
/* Core configuration */
|
||||
ocf_mngt_core_config_set_default(&core_cfg);
|
||||
core_cfg.name = "core1";
|
||||
strcpy(core_cfg.name, "core1");
|
||||
core_cfg.volume_type = VOL_TYPE;
|
||||
ret = ocf_uuid_set_str(&core_cfg.uuid, "core");
|
||||
if (ret)
|
||||
|
Loading…
Reference in New Issue
Block a user