1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

Fix a couple of typos.

Submitted by:	bde
This commit is contained in:
Mike Pritchard 1997-02-11 03:45:14 +00:00
parent d2595c8454
commit 3cdb4c34f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22554

View File

@ -263,11 +263,11 @@ opencal()
_exit(1);
};
if (setgid(getegid()) < 0) {
fprintf(stderr, "calendar: setegid failed\n");
fprintf(stderr, "calendar: setgid failed\n");
_exit(1);
}
if (setuid(uid) < 0) {
fprintf(stderr, "caelndar: setuid failed\n");
fprintf(stderr, "calendar: setuid failed\n");
_exit(1);
}
execl(_PATH_CPP, "cpp", "-P", "-I.", _PATH_INCLUDE, NULL);
@ -326,11 +326,11 @@ closecal(fp)
_exit(1);
};
if (setgid(getegid()) < 0) {
fprintf(stderr, "calendar: setegid failed\n");
fprintf(stderr, "calendar: setgid failed\n");
_exit(1);
}
if (setuid(uid) < 0) {
fprintf(stderr, "caelndar: setuid failed\n");
fprintf(stderr, "calendar: setuid failed\n");
_exit(1);
}
execl(_PATH_SENDMAIL, "sendmail", "-i", "-t", "-F",