diff options
author | Alasdair Kergon <agk@redhat.com> | 2009-07-13 19:49:48 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2009-07-13 19:49:48 +0000 |
commit | 7f355587f5285ffdf34da8cd96ba81d0db47a8ff (patch) | |
tree | dc142992e5ca3695df877b38e02853dd05e07b53 /lib/commands/toolcontext.h | |
parent | c944836420b9bec15270af0f4971fde3b5639650 (diff) | |
download | lvm2-7f355587f5285ffdf34da8cd96ba81d0db47a8ff.tar.gz lvm2-7f355587f5285ffdf34da8cd96ba81d0db47a8ff.tar.xz lvm2-7f355587f5285ffdf34da8cd96ba81d0db47a8ff.zip |
Make cmd->cmd_line const.
Diffstat (limited to 'lib/commands/toolcontext.h')
-rw-r--r-- | lib/commands/toolcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/toolcontext.h b/lib/commands/toolcontext.h index b5d0e2ee..374b38f1 100644 --- a/lib/commands/toolcontext.h +++ b/lib/commands/toolcontext.h @@ -63,7 +63,7 @@ struct cmd_context { const char *kernel_vsn; unsigned rand_seed; - char *cmd_line; + const char *cmd_line; struct command *command; char **argv; unsigned is_long_lived:1; /* Optimises persistent_filter handling */ |