summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/util.c b/usr.sbin/smtpd/util.c
index 05b2050c8da..07979644c4d 100644
--- a/usr.sbin/smtpd/util.c
+++ b/usr.sbin/smtpd/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.74 2012/08/26 11:52:48 gilles Exp $ */
+/* $OpenBSD: util.c,v 1.75 2012/08/27 11:59:38 chl Exp $ */
/*
* Copyright (c) 2000,2001 Markus Friedl. All rights reserved.
@@ -336,9 +336,6 @@ mktmpfile(void)
char path[MAXPATHLEN];
int fd;
- if (ckdir(PATH_TEMPORARY, 0700, env->sc_pw->pw_uid, 0, 0) == 0)
- errx(1, "error in %s directory setup", PATH_TEMPORARY);
-
if (! bsnprintf(path, sizeof(path), "%s/smtpd.XXXXXXXXXX", PATH_TEMPORARY))
err(1, "snprintf");