summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-load-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2014-09-01 21:50:18 +0000
committernicm <nicm@openbsd.org>2014-09-01 21:50:18 +0000
commitc6cf1eff52e0050059f665505906ad45f74f9186 (patch)
tree6e61e713891907a60157df7dab12292d3a3ffb40 /usr.bin/tmux/cmd-load-buffer.c
parentClose fd if fdopen fails (diff)
downloadwireguard-openbsd-c6cf1eff52e0050059f665505906ad45f74f9186.tar.xz
wireguard-openbsd-c6cf1eff52e0050059f665505906ad45f74f9186.zip
Various minor style and spacing nits.
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
-rw-r--r--usr.bin/tmux/cmd-load-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-load-buffer.c b/usr.bin/tmux/cmd-load-buffer.c
index 99dba8b1b7b..107c1e32cdc 100644
--- a/usr.bin/tmux/cmd-load-buffer.c
+++ b/usr.bin/tmux/cmd-load-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-load-buffer.c,v 1.29 2014/05/13 07:34:35 nicm Exp $ */
+/* $OpenBSD: cmd-load-buffer.c,v 1.30 2014/09/01 21:50:18 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -62,7 +62,7 @@ cmd_load_buffer_exec(struct cmd *self, struct cmd_q *cmdq)
path = args->argv[0];
if (strcmp(path, "-") == 0) {
error = server_set_stdin_callback(c, cmd_load_buffer_callback,
- (void*)bufname, &cause);
+ (void *)bufname, &cause);
if (error != 0) {
cmdq_error(cmdq, "%s: %s", path, cause);
free(cause);