diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-01-20 21:21:32 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-01-20 21:21:32 +0000 |
commit | 5434a2759ae3452bc11dc0b5e804e421a8c5d7a3 (patch) | |
tree | 3bbc9767121b9b541d5e05bf743f1cd4c6f27c6b /cmd.c | |
parent | b7551c9193c6fe48c68a5555b9b51a9cc3f69511 (diff) | |
download | rtmux-5434a2759ae3452bc11dc0b5e804e421a8c5d7a3.tar.gz rtmux-5434a2759ae3452bc11dc0b5e804e421a8c5d7a3.tar.bz2 rtmux-5434a2759ae3452bc11dc0b5e804e421a8c5d7a3.zip |
Sync OpenBSD patchset 1002:
Add some const and fix a warning.
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1214,10 +1214,10 @@ cmd_template_replace(char *template, const char *s, int idx) } /* Return the default path for a new pane. */ -char * +const char * cmd_get_default_path(struct cmd_ctx *ctx) { - char *cwd; + const char *cwd; struct session *s; struct window_pane *wp; struct environ_entry *envent; |