nit: do not add \n at end of LOG_ERROR
Fixed in many other places, and submitted in response to Øyvind's invitation.
This commit is contained in:
committed by
Øyvind Harboe
parent
0cd84000da
commit
a665ef716a
@@ -121,13 +121,13 @@ NAND_DEVICE_COMMAND_HANDLER(orion_nand_device_command)
|
||||
uint8_t ale, cle;
|
||||
|
||||
if (CMD_ARGC != 3) {
|
||||
LOG_ERROR("arguments must be: <target_id> <NAND_address>\n");
|
||||
LOG_ERROR("arguments must be: <target_id> <NAND_address>");
|
||||
return ERROR_NAND_DEVICE_INVALID;
|
||||
}
|
||||
|
||||
hw = calloc(1, sizeof(*hw));
|
||||
if (!hw) {
|
||||
LOG_ERROR("no memory for nand controller\n");
|
||||
LOG_ERROR("no memory for nand controller");
|
||||
return ERROR_NAND_DEVICE_INVALID;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user