rxkad: ticket5.c fix typo in #if statement 54/13754/2
authorCheyenne Wills <cwills@sinenomine.net>
Thu, 8 Aug 2019 18:07:51 +0000 (12:07 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 8 Aug 2019 18:35:09 +0000 (14:35 -0400)
commit 98ca332c4a5ac9e5687fb4fe21b350134bc74d1b (rxkad: v5der.c format
truncation warnings) contains a typo in the test for clang (_clang
instead of __clang__)

Correct the typo in the #if statement to test for __clang__

Change-Id: I0dbe603072740fcf2fb2cb2cea464a48009fee74
Reviewed-on: https://gerrit.openafs.org/13754
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/rxkad/ticket5.c

index 8c750d3..04c54b1 100644 (file)
@@ -81,7 +81,7 @@
 #include "v5gen.h"
 #include "der.h"
 
-#if defined(IGNORE_SOME_GCC_WARNINGS) && !defined(_clang) && __GNUC__ >= 7
+#if defined(IGNORE_SOME_GCC_WARNINGS) && !defined(__clang__) && __GNUC__ >= 7
 # pragma GCC diagnostic push
 # pragma GCC diagnostic warning "-Wformat-truncation"
 #endif