summaryrefslogtreecommitdiffstats
path: root/lib/commands/toolcontext.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-07-13 19:49:48 +0000
committerAlasdair Kergon <agk@redhat.com>2009-07-13 19:49:48 +0000
commit7f355587f5285ffdf34da8cd96ba81d0db47a8ff (patch)
treedc142992e5ca3695df877b38e02853dd05e07b53 /lib/commands/toolcontext.h
parentc944836420b9bec15270af0f4971fde3b5639650 (diff)
downloadlvm2-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.h2
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 */