remote.c: spell __attribute__ correctly

We want to tell the compiler that error_buf() uses printf()-style arguments via the __attribute__ mechanism, but the original commit (3a429d0), forgot the trailing "__". This happens to work with real GNUC-compatible compilers like gcc and clang, but confuses our fallback macro in git-compat-util.h, which only matches the official name (and thus the build fails on compilers like Visual Studio). Reported-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Apr 25, 2016 at 17:15 UTC 060e7766ba34dc4fef351494239235ba365edd18
1 file changed +1 -1
remote.c
+1 -1
@@ -1705,7 +1705,7 @@ int branch_merge_matches(struct branch *branch,
1705 return refname_match(branch->merge[i]->src, refname);
1706 }
1707
1708 -__attribute((format (printf,2,3)))
1708 +__attribute__((format (printf,2,3)))
1709 static const char *error_buf(struct strbuf *err, const char *fmt, ...)
1710 {
1711 if (err) {