[PATCH] quota-tools: add missing newline to die() messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
---
 edquota.c | 4 ++--
 quota.c   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/edquota.c b/edquota.c
index 71b28b6..cc6c4e2 100644
--- a/edquota.c
+++ b/edquota.c
@@ -309,7 +309,7 @@ int main(int argc, char **argv)
 		 * reuse the file for editting the next user as well.
 		 */
 		if ((tmpfd = open(tmpfil, O_RDWR)) < 0)
-			die(1, _("Cannot reopen!"));
+			die(1, _("Cannot reopen!\n"));
 		if (stat(tmpfil, &st) < 0) {
 			errstr(_("Cannot stat file with times.\n"));
 			ret = -1;
@@ -361,7 +361,7 @@ int main(int argc, char **argv)
 			 * reuse the file for editting the next user as well.
 			 */
 			if ((tmpfd = open(tmpfil, O_RDWR)) < 0)
-				die(1, _("Cannot reopen!"));
+				die(1, _("Cannot reopen!\n"));
 			if (stat(tmpfil, &st) < 0) {
 				errstr(_("Cannot stat file with times.\n"));
 				ret = -1;
diff --git a/quota.c b/quota.c
index c55e142..c8cc9b5 100644
--- a/quota.c
+++ b/quota.c
@@ -426,7 +426,7 @@ int main(int argc, char **argv)
 				ret |= showquotas(GRPQUOTA, gidsetp[i], argc, argv);
 		}
 		if (flags & FL_PROJECT)
-			die(1, _("Project reports not supported without project name"));
+			die(1, _("Project reports not supported without project name\n"));
 		exit(ret);
 	}
 
-- 
2.11.0.rc0.7.gbe5a750




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux