projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26efeda
)
Added error number to messages
author
ewt
<devnull@localhost>
Tue, 12 Dec 1995 23:23:37 +0000
(23:23 +0000)
committer
ewt
<devnull@localhost>
Tue, 12 Dec 1995 23:23:37 +0000
(23:23 +0000)
CVS patchset: 14
CVS date: 1995/12/12 23:23:37
lib/rpmerr.c
patch
|
blob
|
history
rpmio/rpmerr.c
patch
|
blob
|
history
diff --git
a/lib/rpmerr.c
b/lib/rpmerr.c
index
84f743c
..
f5c2cf2
100644
(file)
--- 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
84f743c
..
f5c2cf2
100644
(file)
--- 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
);
}