projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21cc2bb
)
Remove strerror() from error messages for rpmReadPackageFile() error
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 3 Mar 2014 14:58:10 +0000
(15:58 +0100)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Mon, 3 Mar 2014 14:58:10 +0000
(15:58 +0100)
src/parsepkg.c
patch
|
blob
|
history
diff --git
a/src/parsepkg.c
b/src/parsepkg.c
index
2587d93
..
c82d245
100644
(file)
--- a/
src/parsepkg.c
+++ b/
src/parsepkg.c
@@
-105,10
+105,10
@@
read_header(const char *filename, Header *hdr, GError **err)
__func__, filename);
break;
default:
- g_warning("%s: rpmReadPackageFile() error
(%s)
",
- __func__
, strerror(errno)
);
+ g_warning("%s: rpmReadPackageFile() error",
+ __func__);
g_set_error(err, CR_PARSEPKG_ERROR, CRE_IO,
- "rpmReadPackageFile() error
: %s", strerror(errno)
);
+ "rpmReadPackageFile() error
"
);
Fclose(fd);
return CRE_IO;
}