diff mbox

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

Message ID 20170209033625.21189-1-tytso@mit.edu (mailing list archive)
State New, archived
Headers show

Commit Message

Theodore Ts'o Feb. 9, 2017, 3:36 a.m. UTC
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
---
 edquota.c | 4 ++--
 quota.c   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Jan Kara Feb. 9, 2017, 10:57 a.m. UTC | #1
Thanks. Merged.

								Honza

On Wed 08-02-17 22:36:25, Ted Tso wrote:
> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
> ---
>  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
>
diff mbox

Patch

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);
 	}