--- sys-utils/lscpu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 027a298..0d0760f 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -173,7 +173,7 @@ path_fopen(const char *mode, int exit_on_error, const char *path, ...) va_list ap; va_start(ap, path); - fd = path_vfopen("r", exit_on_error, path, ap); + fd = path_vfopen(mode, exit_on_error, path, ap); va_end(ap); return fd; -- 1.7.1 Petr -- Petr Uzel IRC: ptr_uzl @ freenode
Attachment:
pgpTVFSTNlRjK.pgp
Description: PGP signature