projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7273a0e
)
ofp-print: __attribute__ format in visual studio.
author
Gurucharan Shetty
<gshetty@nicira.com>
Wed, 12 Mar 2014 15:03:24 +0000
(08:03 -0700)
committer
Gurucharan Shetty
<gshetty@nicira.com>
Wed, 12 Mar 2014 16:15:38 +0000
(09:15 -0700)
Visual studio does not understand __attribute__ format.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index
06e64f6
..
5b53366
100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-572,7
+572,7
@@
ofp_print_switch_config(struct ds *string, const struct ofp_switch_config *osc)
static void print_wild(struct ds *string, const char *leader, int is_wild,
int verbosity, const char *format, ...)
-
__attribute__((format(printf, 5, 6))
);
+
PRINTF_FORMAT(5, 6
);
static void print_wild(struct ds *string, const char *leader, int is_wild,
int verbosity, const char *format, ...)