diff options
author | Jon Purdy <evincarofautumn@gmail.com> | 2015-01-29 23:50:10 +0300 |
---|---|---|
committer | Jon Purdy <evincarofautumn@gmail.com> | 2015-01-29 23:52:13 +0300 |
commit | 9df536fcc6138489e35d2faf13baa20b8a51e6de (patch) | |
tree | 67a6e6a096940eaf46d242344577508b9b282a9f /tools | |
parent | d547860431024ab994b446c1b91bced1ac5e5c9c (diff) |
[runtime] Fix incorrect labels in sgen-grep-binprot output.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sgen/sgen-grep-binprot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/sgen/sgen-grep-binprot.c b/tools/sgen/sgen-grep-binprot.c index e2a66e319b6..74898e06821 100644 --- a/tools/sgen/sgen-grep-binprot.c +++ b/tools/sgen/sgen-grep-binprot.c @@ -218,7 +218,7 @@ print_entry (int type, void *data) pes [1].name = #f2; \ pes [1].data = &entry->f2; \ pes [2].type = t3; \ - pes [2].name = #f2; \ + pes [2].name = #f3; \ pes [2].data = &entry->f3; \ printf ("%s ", #method + strlen ("binary_protocol_")); #define BEGIN_PROTOCOL_ENTRY4(method,t1,f1,t2,f2,t3,f3,t4,f4) \ @@ -233,7 +233,7 @@ print_entry (int type, void *data) pes [1].name = #f2; \ pes [1].data = &entry->f2; \ pes [2].type = t3; \ - pes [2].name = #f2; \ + pes [2].name = #f3; \ pes [2].data = &entry->f3; \ pes [3].type = t4; \ pes [3].name = #f4; \ @@ -251,7 +251,7 @@ print_entry (int type, void *data) pes [1].name = #f2; \ pes [1].data = &entry->f2; \ pes [2].type = t3; \ - pes [2].name = #f2; \ + pes [2].name = #f3; \ pes [2].data = &entry->f3; \ pes [3].type = t4; \ pes [3].name = #f4; \ @@ -272,7 +272,7 @@ print_entry (int type, void *data) pes [1].name = #f2; \ pes [1].data = &entry->f2; \ pes [2].type = t3; \ - pes [2].name = #f2; \ + pes [2].name = #f3; \ pes [2].data = &entry->f3; \ pes [3].type = t4; \ pes [3].name = #f4; \ |