aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-09-05 21:11:33 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-09-05 21:11:33 +0300
commitda014d55972f5addbf6b4360d3d8ed2ef4282170 (patch)
tree4a65908fac1e663fc389600e3da6dc4d88771fad /src/xz/args.c
parentxz: Hopefully ease translating the messages in list.c. (diff)
downloadxz-da014d55972f5addbf6b4360d3d8ed2ef4282170.tar.xz
xz: Use an array instead of pointer for stdin_filename.
Thanks Joerg Sonnenberger.
Diffstat (limited to '')
-rw-r--r--src/xz/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/args.c b/src/xz/args.c
index d28a3d40..4bd84a0c 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -25,7 +25,7 @@ bool opt_robot = false;
// We don't modify or free() this, but we need to assign it in some
// non-const pointers.
-const char *const stdin_filename = "(stdin)";
+const char stdin_filename[] = "(stdin)";
/// Parse and set the memory usage limit for compression and/or decompression.