Sync OpenBSD patchset 1002:

Add some const and fix a warning.
This commit is contained in:
Tiago Cunha
2012-01-20 21:21:32 +00:00
parent b7551c9193
commit 5434a2759a
4 changed files with 7 additions and 6 deletions

View File

@ -44,7 +44,8 @@ cmd_new_window_exec(struct cmd *self, struct cmd_ctx *ctx)
struct args *args = self->args;
struct session *s;
struct winlink *wl;
char *cmd, *cwd, *cause;
const char *cmd, *cwd;
char *cause;
int idx, last, detached;
if (args_has(args, 'a')) {