summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2014-04-07 16:36:15 +0000
committerJordan Rose <jordan_rose@apple.com>2014-04-07 16:36:15 +0000
commit053ce3e7118f94456c0f052b79bb38e64f910cd6 (patch)
tree44064e0f35f2ce30a06b4206edaacf22f4221961 /www
parent8177b78e32f0e55659507a3dce5c4124f3b3c1c8 (diff)
[analyzer] Fix mistake in example for potential checker "posix.Errno".
Found by Richard Osbourne! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r--www/analyzer/potential_checkers.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/analyzer/potential_checkers.html b/www/analyzer/potential_checkers.html
index 6ec68a9909..335e50d848 100644
--- a/www/analyzer/potential_checkers.html
+++ b/www/analyzer/potential_checkers.html
@@ -335,7 +335,7 @@ int readWrapper(int fd, int *count) {
void use(int fd) {
int count;
- if (!readWrapper(fd))
+ if (!readWrapper(fd, &amp;count))
print("%d", count); // should not warn
}
</pre></td><td class="aligned"><a href="http://llvm.org/bugs/show_bug.cgi?id=18701">PR18701</a></td></tr>