summaryrefslogtreecommitdiff
path: root/srcx/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'srcx/util.c')
-rw-r--r--srcx/util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/srcx/util.c b/srcx/util.c
index c406163..5fcad1c 100644
--- a/srcx/util.c
+++ b/srcx/util.c
@@ -205,8 +205,6 @@ int kvm_prepare_jail(struct xprison* xp)
strcpy(path, xp->pr_path);
strcat(path, _PATH_DEV);
- warnx("the %s directory doesn't exist. creating...", path);
-
if(mkdir(path, 0) == -1 ||
chmod(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) == -1)
{
@@ -223,7 +221,7 @@ int kvm_prepare_jail(struct xprison* xp)
strcpy(path, xp->pr_path);
strcat(path, _PATH_DEVNULL);
- warnx("the %s device doesn't exist in jail. creating...", path);
+ warnx("creating %s device in jail.", path);
if(mknod(path, mode, dev) == -1)
{