diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-20 21:07:06 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-20 21:07:06 +0200 |
commit | c70560feef0eb61a150cd2f956f0beead4313ffe (patch) | |
tree | 48db1f001e87e46b0ccd2b30704b87a8662ba9b9 /extras/ata_id | |
parent | 1d918b50cddc975abbfd06af134a6d843d9bc7f0 (diff) |
logging: add trailing newline to all strings
Diffstat (limited to 'extras/ata_id')
-rw-r--r-- | extras/ata_id/ata_id.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/ata_id/ata_id.c b/extras/ata_id/ata_id.c index f94cdc0fd3..6d3c2330b4 100644 --- a/extras/ata_id/ata_id.c +++ b/extras/ata_id/ata_id.c @@ -126,24 +126,24 @@ int main(int argc, char *argv[]) node = argv[optind]; if (node == NULL) { - err("no node specified"); + err("no node specified\n"); rc = 1; goto exit; } fd = open(node, O_RDONLY|O_NONBLOCK); if (fd < 0) { - err("unable to open '%s'", node); + err("unable to open '%s'\n", node); rc = 1; goto exit; } if (ioctl(fd, HDIO_GET_IDENTITY, &id)) { if (errno == ENOTTY) { - info("HDIO_GET_IDENTITY unsupported for '%s'", node); + info("HDIO_GET_IDENTITY unsupported for '%s'\n", node); rc = 2; } else { - err("HDIO_GET_IDENTITY failed for '%s'", node); + err("HDIO_GET_IDENTITY failed for '%s'\n", node); rc = 3; } goto close; |