summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewt <devnull@localhost>1995-12-12 23:23:37 +0000
committerewt <devnull@localhost>1995-12-12 23:23:37 +0000
commite55cb9595488ae4423f336ef2078796b1c6fab5d (patch)
tree2a29564c0b96cce04eade4e30b2775d189d1783f
parent26efeda3f315f819dfaf4338dd84046295502f9f (diff)
downloadlibrpm-tizen-e55cb9595488ae4423f336ef2078796b1c6fab5d.tar.gz
librpm-tizen-e55cb9595488ae4423f336ef2078796b1c6fab5d.tar.bz2
librpm-tizen-e55cb9595488ae4423f336ef2078796b1c6fab5d.zip
Added error number to messages
CVS patchset: 14 CVS date: 1995/12/12 23:23:37
-rw-r--r--lib/rpmerr.c2
-rw-r--r--rpmio/rpmerr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmerr.c b/lib/rpmerr.c
index 84f743ceb..f5c2cf268 100644
--- a/lib/rpmerr.c
+++ b/lib/rpmerr.c
@@ -4,5 +4,5 @@
void error(int code, ...)
{
- fprintf(stderr, "error, error, error\n");
+ fprintf(stderr, "error, error, error %d\n", code);
}
diff --git a/rpmio/rpmerr.c b/rpmio/rpmerr.c
index 84f743ceb..f5c2cf268 100644
--- a/rpmio/rpmerr.c
+++ b/rpmio/rpmerr.c
@@ -4,5 +4,5 @@
void error(int code, ...)
{
- fprintf(stderr, "error, error, error\n");
+ fprintf(stderr, "error, error, error %d\n", code);
}