Skip to content

Commit 4d2914c

Browse files
finikorgnashif
authored andcommitted
drivers: eeprom: Fix splitting format string
Fix splitting format string to arguments. Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent 1ec44b6 commit 4d2914c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/eeprom/eeprom_simulator.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,14 @@ static int eeprom_mock_init(const struct device *dev)
219219

220220
eeprom_fd = open(eeprom_file_path, O_RDWR | O_CREAT, (mode_t)0600);
221221
if (eeprom_fd == -1) {
222-
posix_print_warning("Failed to open eeprom device file ",
222+
posix_print_warning("Failed to open eeprom device file "
223223
"%s: %s\n",
224224
eeprom_file_path, strerror(errno));
225225
return -EIO;
226226
}
227227

228228
if (ftruncate(eeprom_fd, DT_INST_PROP(0, size)) == -1) {
229-
posix_print_warning("Failed to resize eeprom device file ",
229+
posix_print_warning("Failed to resize eeprom device file "
230230
"%s: %s\n",
231231
eeprom_file_path, strerror(errno));
232232
return -EIO;

0 commit comments

Comments
 (0)