summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/mknod/mknod.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/mknod/mknod.c b/sbin/mknod/mknod.c
index 884dd6fa373..f64b5edb252 100644
--- a/sbin/mknod/mknod.c
+++ b/sbin/mknod/mknod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mknod.c,v 1.29 2016/03/07 19:16:06 tb Exp $ */
+/* $OpenBSD: mknod.c,v 1.30 2016/10/20 10:24:40 schwarze Exp $ */
/* $NetBSD: mknod.c,v 1.8 1995/08/11 00:08:18 jtc Exp $ */
/*
@@ -25,7 +25,6 @@
#include <err.h>
#include <errno.h>
#include <limits.h>
-#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -55,8 +54,6 @@ main(int argc, char *argv[])
void *set;
int ch;
- setlocale(LC_ALL, "");
-
if (pledge("stdio dpath", NULL) == -1)
err(1, "pledge");