summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/variable.c')
-rw-r--r--Build/source/texk/kpathsea/variable.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/variable.c b/Build/source/texk/kpathsea/variable.c
index 4198f043d10..f2072441ab8 100644
--- a/Build/source/texk/kpathsea/variable.c
+++ b/Build/source/texk/kpathsea/variable.c
@@ -1,6 +1,6 @@
/* variable.c: variable expansion.
- Copyright 1993, 1994, 1995, 1996, 2008, 2009, 2011 Karl Berry.
+ Copyright 1993, 1994, 1995, 1996, 2008, 2009, 2011, 2012 Karl Berry.
Copyright 1997, 1999, 2001, 2002, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -229,7 +229,7 @@ kpathsea_var_expand (kpathsea kpse, const_string src)
}
if (! *var_end) {
- WARNING1 ("%s: No matching } for ${", src);
+ WARNING1 ("kpathsea: %s: No matching } for ${", src);
s = var_end - 1; /* will incr to null at top of loop */
} else {
expand (kpse, &expansion, s, var_end - 1);
@@ -239,7 +239,8 @@ kpathsea_var_expand (kpathsea kpse, const_string src)
} else {
/* $<something-else>: warn, but preserve characters; again, so
filenames containing dollar signs can be read. */
- WARNING2 ("%s: Unrecognized variable construct `$%c'", src, *s);
+ WARNING2 ("kpathsea: %s: Unrecognized variable construct `$%c'",
+ src, *s);
fn_grow (&expansion, s - 1, 2); /* moved past the $ */
}
} else