diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2021-04-14 17:30:22 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2021-05-07 18:25:07 +0200 |
commit | 857fdc4c3bf47eb3fedcd15d3763f62727476df0 (patch) | |
tree | af7fd7386b3f14ad9f1fc72ac6e71b81c2c6e1d7 | |
parent | 8af7d22ff029796484c78a16d4c6d44a47cb5729 (diff) | |
download | libexpat-git-857fdc4c3bf47eb3fedcd15d3763f62727476df0.tar.gz |
lib: Add prefix "expat: " to EXPAT_ENTROPY_DEBUG=1 stderr output
-rw-r--r-- | expat/lib/xmlparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index fce7447d..641f005c 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -889,7 +889,7 @@ static unsigned long ENTROPY_DEBUG(const char *label, unsigned long entropy) { const char *const EXPAT_ENTROPY_DEBUG = getenv("EXPAT_ENTROPY_DEBUG"); if (EXPAT_ENTROPY_DEBUG && ! strcmp(EXPAT_ENTROPY_DEBUG, "1")) { - fprintf(stderr, "Entropy: %s --> 0x%0*lx (%lu bytes)\n", label, + fprintf(stderr, "expat: Entropy: %s --> 0x%0*lx (%lu bytes)\n", label, (int)sizeof(entropy) * 2, entropy, (unsigned long)sizeof(entropy)); } return entropy; |