aboutsummaryrefslogtreecommitdiff
path: root/coreutils/head.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/head.c')
-rw-r--r--coreutils/head.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/head.c b/coreutils/head.c
index 56e7a960c..59b4d552c 100644
--- a/coreutils/head.c
+++ b/coreutils/head.c
@@ -92,7 +92,7 @@ int head_main(int argc, char **argv)
92 92
93 argv += optind; 93 argv += optind;
94 if (!*argv) { 94 if (!*argv) {
95 *--argv = "-"; 95 *--argv = (char*)"-";
96 } 96 }
97 97
98 fmt = header_fmt_str + 1; 98 fmt = header_fmt_str + 1;