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:
parent
d2595c8454
commit
3cdb4c34f5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22554
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user