summaryrefslogtreecommitdiff
path: root/rpmio/macro.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-04-08 18:56:01 +0000
committerjbj <devnull@localhost>2002-04-08 18:56:01 +0000
commitb45c27e2ab0ba5c0d3bd3385ef561943d4cc57f9 (patch)
tree31a9c230b6207a383c709e2d68f4e357dbd0ad36 /rpmio/macro.c
parentffdfd1056e25d18f95776fbff43fceca864be95f (diff)
downloadrpm-b45c27e2ab0ba5c0d3bd3385ef561943d4cc57f9.tar.gz
rpm-b45c27e2ab0ba5c0d3bd3385ef561943d4cc57f9.tar.bz2
rpm-b45c27e2ab0ba5c0d3bd3385ef561943d4cc57f9.zip
doxygen cleanup.
CVS patchset: 5379 CVS date: 2002/04/08 18:56:01
Diffstat (limited to 'rpmio/macro.c')
-rw-r--r--rpmio/macro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index 1493689ef..03cf51b31 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -1022,7 +1022,7 @@ doOutput(MacroBuf mb, int waserror, const char * msg, size_t msglen)
*/
static void
doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
- const char * g, size_t glen)
+ const char * g, size_t gn)
/*@globals rpmGlobalMacroContext,
fileSystem, internalState @*/
/*@modifies mb, rpmGlobalMacroContext,
@@ -1033,8 +1033,8 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
buf[0] = '\0';
if (g) {
- strncpy(buf, g, glen);
- buf[glen] = '\0';
+ strncpy(buf, g, gn);
+ buf[gn] = '\0';
(void) expandU(mb, buf, sizeof(buf));
}
if (STREQ("basename", f, fn)) {