summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-02-16 08:34:49 +0200
committerGordon Ross <gwr@nexenta.com>2017-06-11 12:37:49 -0400
commita4771893ade3c706ccf9e2b441c8fb5d405be3a1 (patch)
treea1828ecae298d52728a3d94ab7c35cd4fce920f4
parent88811dae72594322206feacfdd588136aca40d65 (diff)
downloadillumos-joyent-a4771893ade3c706ccf9e2b441c8fb5d405be3a1.tar.gz
8315 sendmail: misleading-indentation
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
-rw-r--r--usr/src/cmd/sendmail/aux/vacation.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr/src/cmd/sendmail/aux/vacation.c b/usr/src/cmd/sendmail/aux/vacation.c
index d1f3675985..5a0f93756d 100644
--- a/usr/src/cmd/sendmail/aux/vacation.c
+++ b/usr/src/cmd/sendmail/aux/vacation.c
@@ -17,12 +17,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#ifndef lint
-static char SccsId[] = "%W% %E% SMI";
-#endif /* not lint */
-
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -763,9 +757,10 @@ sendmessage(msgf, user, myname)
if (f == NULL)
{
f = fopen("/etc/mail/vacation.def", "r");
- if (f == NULL)
+ if (f == NULL) {
usrerr("No message to send");
exit(EX_OSFILE);
+ }
}
if (pipe(pipefd) < 0) {