diff options
author | jbj <devnull@localhost> | 2002-04-08 18:56:01 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-04-08 18:56:01 +0000 |
commit | b45c27e2ab0ba5c0d3bd3385ef561943d4cc57f9 (patch) | |
tree | 31a9c230b6207a383c709e2d68f4e357dbd0ad36 /rpmio/macro.c | |
parent | ffdfd1056e25d18f95776fbff43fceca864be95f (diff) | |
download | rpm-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.c | 6 |
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)) { |