summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-02-08 22:36:25 -0500
committerJan Kara <jack@suse.cz>2017-02-09 11:55:45 +0100
commite0b633558d28afb43bed665963d2941dde4a0f26 (patch)
treea475acecaf870e645ed3543b3b1e948b2609abc4
parent2b3795805c8d1bd8873b046508777fa6e9a5c83d (diff)
downloadquota-tools-e0b633558d28afb43bed665963d2941dde4a0f26.tar.gz
quota-tools: add missing newline to die() messages
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r--edquota.c4
-rw-r--r--quota.c2
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);
}