summaryrefslogtreecommitdiff
path: root/bin/systrace/policy.c
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2003-07-19 11:48:59 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2003-07-19 11:48:59 +0000
commitcc66adb3b35ed88b028cac1c966ecbaafb704f56 (patch)
tree56bf36dc4a8347ae51a4b8ad01dd592b77363f7a /bin/systrace/policy.c
parent4da74a3119016dd4567094309dc5444dbfbdb3a5 (diff)
- sync with NetBSD or Niels' tarball where appropriate
- keeps local changes - fixes a bug in profile feedback optimization and avoids symbol conflicts with errno - new feature: "ask" action itojun@ ok
Diffstat (limited to 'bin/systrace/policy.c')
-rw-r--r--bin/systrace/policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/policy.c b/bin/systrace/policy.c
index 1f94338d567..72c7f685c12 100644
--- a/bin/systrace/policy.c
+++ b/bin/systrace/policy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: policy.c,v 1.28 2003/06/19 06:26:19 pvalchev Exp $ */
+/* $OpenBSD: policy.c,v 1.29 2003/07/19 11:48:58 sturm Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -129,7 +129,7 @@ systrace_setupdir(char *path)
if (!(sb.st_mode & S_IFDIR))
errx(1, "Not a directory: \"%s\"", policydir);
} else if (mkdir(policydir, 0700) == -1)
- err(1, "mdkdir(%s)", policydir);
+ err(1, "mkdir(%s)", policydir);
}
int