diff --git a/samples/subsys/nvs/src/main.c b/samples/subsys/nvs/src/main.c index 634f2248060f9a..dd310824e49a9a 100644 --- a/samples/subsys/nvs/src/main.c +++ b/samples/subsys/nvs/src/main.c @@ -87,7 +87,7 @@ void main(void) */ rc = nvs_read(&fs, ADDRESS_ID, &buf, sizeof(buf)); if (rc > 0) { /* item was found, show it */ - printk("Entry: %d, Address: %s\n", ADDRESS_ID, buf); + printk("Id: %d, Address: %s\n", ADDRESS_ID, buf); } else {/* item was not found, add it */ strcpy(buf, "192.168.1.1"); printk("No address found, adding %s at id %d\n", buf, @@ -166,7 +166,7 @@ void main(void) /* entry was not found, add it if reboot_counter = 0*/ if (reboot_counter == 0) { printk("Longarray not found, adding it as id %d\n", - STRING_ID); + LONG_ID); for (int n = 0; n < sizeof(longarray); n++) { longarray[n] = n; }