lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CABz95_CN0eDwfgpTTBq0QymxtPJBYmBWw0X5K=Xa4rVKddrrzA@mail.gmail.com>
Date:	Tue, 30 Sep 2014 19:10:30 +0100
From:	Steven Honeyman <stevenhoneyman@...il.com>
To:	Minchan Kim <minchan@...nel.org>, Nitin Gupta <ngupta@...are.org>
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] zram: trivial improvements to the startup message

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@...il.com>
---
 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ