[PATCH] zram: trivial improvements to the startup message

From: Steven Honeyman
Date: Tue Sep 30 2014 - 14:10:56 EST


Originally I intended to just remove the ellipsis, because it usually
signifies that something is in progress and will take some time to
complete.
The plural "device"/"devices" is just a bonus addition, because it was
in the same line I was editing!

Signed-off-by: Steven Honeyman <stevenhoneyman@xxxxxxxxx>
---
drivers/block/zram/zram_drv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
index d00831c..71e6fe0 100644
--- a/drivers/block/zram/zram_drv.c
+++ b/drivers/block/zram/zram_drv.c
@@ -1018,7 +1018,8 @@ static int __init zram_init(void)
goto free_devices;
}

- pr_info("Created %u device(s) ...\n", num_devices);
+ pr_info("Created %u device%s\n", num_devices,
+ num_devices > 1 ? "s" : "");

return 0;

--
2.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/