summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-07 19:12:44 +0000
committerJim Meyering <jim@meyering.net>1996-12-07 19:12:44 +0000
commit0ccd71dd94a8d3978e6b340155100d4ab2416e12 (patch)
tree2010298e2767926a804fbd263176370afe02d58a /src
parent1c7be9d1bb8a9a764a2361abdfe5f06d2e05e900 (diff)
downloadcoreutils-0ccd71dd94a8d3978e6b340155100d4ab2416e12.tar.xz
(init_header): Fix typo: `cons tchar' -> `const char'. From Roland.
Diffstat (limited to 'src')
-rw-r--r--src/pr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pr.c b/src/pr.c
index 024c4f8bf..3ac39ae16 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1382,7 +1382,7 @@ init_header (char *filename, int desc)
{
size_t t_buf_size = 15;
- cons tchar *fmt = "%y-%m-%d %H:%M"; /* date/time short format */
+ const char *fmt = "%y-%m-%d %H:%M"; /* date/time short format */
t_buf = (char *) xmalloc (t_buf_size);
tmptr = localtime (&st.st_mtime);