diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-28 18:10:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-28 18:10:43 +0000 |
commit | 549a764cf19a1f244d773ab70965eadeef67d5a8 (patch) | |
tree | c90c4d213a075a429e17379467eac19282617252 /Build/source/texk/dvipsk/dvips.c | |
parent | 1cf5d119a011d9d22145848f7177f3124f7e776c (diff) |
dynamically concatenate more error strings
git-svn-id: svn://tug.org/texlive/trunk@17591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/dvips.c')
-rw-r--r-- | Build/source/texk/dvipsk/dvips.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/dvips.c b/Build/source/texk/dvipsk/dvips.c index 43fa09f3db0..95259ab05a3 100644 --- a/Build/source/texk/dvipsk/dvips.c +++ b/Build/source/texk/dvipsk/dvips.c @@ -388,8 +388,9 @@ check_checksum(unsigned c1, unsigned c2, const char *name) && !kpse_tex_hush ("checksum") #endif ) { - sprintf (errbuf, "Checksum mismatch in %s", name); - error (errbuf); + char *msg = concat ("Checksum mismatch in %s", name); + error (msg); + free (msg); } } |