summaryrefslogtreecommitdiff
path: root/sbin/init
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 210ee739375..9d35d99a94d 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.53 2015/07/14 19:14:05 millert Exp $ */
+/* $OpenBSD: init.c,v 1.54 2015/08/20 22:02:21 deraadt Exp $ */
/* $NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $ */
/*-
@@ -834,8 +834,7 @@ char **
construct_argv(char *command)
{
int argc = 0;
- char **argv = (char **) calloc((strlen(command) + 1) / 2 + 1,
- sizeof (char *));
+ char **argv = calloc((strlen(command) + 1) / 2 + 1, sizeof (char *));
static const char separators[] = " \t";
if (argv == NULL)