summaryrefslogtreecommitdiff
path: root/lib/poptALL.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/poptALL.c')
-rw-r--r--lib/poptALL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c
index 15023c8ac..01267e564 100644
--- a/lib/poptALL.c
+++ b/lib/poptALL.c
@@ -128,7 +128,7 @@ static void rpmcliAllArgCallback( poptContext con,
break;
case 'E':
rpmcliConfigured();
- { const char *val = rpmExpand(arg, NULL);
+ { char *val = rpmExpand(arg, NULL);
fprintf(stdout, "%s\n", val);
val = _free(val);
}