Skip to content

Commit

Permalink
Merge pull request #316 from mmichal10/update-example-adapter
Browse files Browse the repository at this point in the history
Update example adapter
  • Loading branch information
micrakow committed Oct 21, 2019
2 parents c8e72ad + 3fda558 commit e6bdc2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/simple/Makefile
Expand Up @@ -19,7 +19,7 @@ all: sync
$(MAKE) $(PROGRAM)

$(PROGRAM): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
$(CC) -o $@ $^ $(LDFLAGS)

sync:
@$(MAKE) -C ${OCFDIR} inc O=$(PWD)
Expand Down
2 changes: 1 addition & 1 deletion example/simple/src/main.c
Expand Up @@ -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)
Expand Down

0 comments on commit e6bdc2d

Please sign in to comment.