summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-07-09 01:36:43 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-07-09 01:36:43 +0000
commitbdeaa46ee4af54205c205271c21d38e74ea35c04 (patch)
tree02f2fc84c31e4c7217d17ddeda473e5d6b041ac5 /usr.bin/tmux
parentfcb72f95947e42c2d4ae9d7baa5d0fca11be731e (diff)
Pass the right size to calloc (* not **).
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/arguments.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/arguments.c b/usr.bin/tmux/arguments.c
index 06d4cc2f03e..f41edec9871 100644
--- a/usr.bin/tmux/arguments.c
+++ b/usr.bin/tmux/arguments.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arguments.c,v 1.2 2011/01/30 12:09:30 nicm Exp $ */
+/* $OpenBSD: arguments.c,v 1.3 2011/07/09 01:36:42 nicm Exp $ */
/*
* Copyright (c) 2010 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -40,7 +40,7 @@ args_create(int argc, ...)
if (argc == 0)
args->argv = NULL;
else
- args->argv = xcalloc(argc, sizeof **args->argv);
+ args->argv = xcalloc(argc, sizeof *args->argv);
va_start(ap, argc);
for (i = 0; i < argc; i++)