From 7f355587f5285ffdf34da8cd96ba81d0db47a8ff Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 13 Jul 2009 19:49:48 +0000 Subject: Make cmd->cmd_line const. --- lib/commands/toolcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/commands/toolcontext.h') 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 */ -- cgit