[clinfo] 130/148: Oops
Andreas Beckmann
anbe at moszumanska.debian.org
Mon Nov 17 14:09:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch clinfo
in repository clinfo.
commit bd6e5ad4497bbcbda2b1b2bf08653e199229bf9c
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Sat Nov 8 20:50:11 2014 +0100
Oops
---
src/clinfo.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/clinfo.c b/src/clinfo.c
index 06e087f..757edcc 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -1849,8 +1849,7 @@ int main(int argc, char *argv[])
output_mode = CLINFO_RAW;
/* process command-line arguments */
- while (a < argc) {
- ++a;
+ while (++a < argc) {
if (!strcmp(argv[a], "--raw"))
output_mode = CLINFO_RAW;
else if (!strcmp(argv[a], "--human"))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git
More information about the Pkg-opencl-commits
mailing list