quota-tools: add missing newline to die() messages
PATCH 1/1 quota-tools: add missing newline to die() messages
Signed-off-by Theodore Ts'o <[email protected]>
--- edquota.c | 4 ++-- quota.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
edquota.c +2 -2
@@ -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 ;
quota.c +1 -1
@@ -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); }
Signature · 1 line
2.11.0.rc0.7.gbe5a750
Jan Kara
reviewerThanks. Merged.
Honza
Quoted 44 lines · Ted Tso
Signed-off-by Theodore Ts'o <[email protected]>--- edquota.c | 4 ++-- quota.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)edquota.c +2
-2@@ -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 ;quota.c +1
-1@@ -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); }Signature · 1 line
2.11.0.rc0.7.gbe5a750
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR