summaryrefslogtreecommitdiff
path: root/tools/patchcheck.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-03-08 10:20:54 +0100
committerMichael Schroeder <mls@suse.de>2011-03-08 10:20:54 +0100
commit45af6d35a0f28d77731014ddf27bc0282dea1215 (patch)
tree459a5c01111df19a0a3355dbc4dab66fa10b80d6 /tools/patchcheck.c
parentf8fbf5ca792ea7ce16e67958d700caaec5863910 (diff)
downloadlibsolv-45af6d35a0f28d77731014ddf27bc0282dea1215.tar.gz
libsolv-45af6d35a0f28d77731014ddf27bc0282dea1215.tar.bz2
libsolv-45af6d35a0f28d77731014ddf27bc0282dea1215.zip
- add mode argument to sat_xfopen* functions
Diffstat (limited to 'tools/patchcheck.c')
-rw-r--r--tools/patchcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patchcheck.c b/tools/patchcheck.c
index 82c612b..5a27525 100644
--- a/tools/patchcheck.c
+++ b/tools/patchcheck.c
@@ -527,7 +527,7 @@ main(int argc, char **argv)
l = strlen(argv[i]);
if (!strcmp(argv[i], "-"))
fp = stdin;
- else if ((fp = sat_xfopen(argv[i])) == 0)
+ else if ((fp = sat_xfopen(argv[i], 0)) == 0)
{
perror(argv[i]);
exit(1);