summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cvs/src/history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cvs/src/history.c b/gnu/usr.bin/cvs/src/history.c
index 106e987b2a2..d4becf3cecf 100644
--- a/gnu/usr.bin/cvs/src/history.c
+++ b/gnu/usr.bin/cvs/src/history.c
@@ -866,8 +866,8 @@ history_write (type, update_dir, revs, name, repository)
revs = "";
line = xmalloc (strlen (username) + strlen (workdir) + strlen (repos)
+ strlen (revs) + strlen (name) + 100);
- sprintf (line, "%c%08lx|%s|%s|%s|%s|%s\n",
- type, (long) time ((time_t *) NULL),
+ sprintf (line, "%c%08llx|%s|%s|%s|%s|%s\n",
+ type, (long long) time ((time_t *) NULL),
username, workdir, repos, revs, name);
/* Lessen some race conditions on non-Posix-compliant hosts. */