Skip to content

Commit

Permalink
libflash/blocklevel: Add missing newline to debug messages
Browse files Browse the repository at this point in the history
Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
pridhiviraj authored and stewartsmith committed Apr 16, 2018
1 parent 0052123 commit ecde3f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libflash/blocklevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int blocklevel_read(struct blocklevel_device *bl, uint64_t pos, void *buf, uint6

ecc_protection = ecc_protected(bl, pos, len, &ecc_start);

FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s",
FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s\n",
__func__, pos, len, ecc_protection ?
(ecc_protection == -1 ? "partial" : "yes") : "no");

Expand Down Expand Up @@ -216,7 +216,7 @@ int blocklevel_write(struct blocklevel_device *bl, uint64_t pos, const void *buf

ecc_protection = ecc_protected(bl, pos, len, &ecc_start);

FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s",
FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s\n",
__func__, pos, len, ecc_protection ?
(ecc_protection == -1 ? "partial" : "yes") : "no");

Expand Down

0 comments on commit ecde3f4

Please sign in to comment.