[Git][NTPsec/ntpsec][master] Fix comments generated for check_structfield()

Matt Selsky gitlab at mg.gitlab.com
Tue Feb 7 06:31:36 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
dede241b by Matt Selsky at 2017-02-07T01:30:32-05:00
Fix comments generated for check_structfield()

- - - - -


1 changed file:

- wafhelpers/check_structfield.py


Changes:

=====================================
wafhelpers/check_structfield.py
=====================================
--- a/wafhelpers/check_structfield.py
+++ b/wafhelpers/check_structfield.py
@@ -25,5 +25,5 @@ def check_structfield(ctx, fld, type, hdrs, mandatory=False):
         execute=False,
         msg="Checking for %s in struct %s" % (fld, type),
         mandatory=mandatory,
-        comment="Whether struct '%s' has field '%s'" % (fld, type)
+        comment="Whether struct '%s' has field '%s'" % (type, fld)
     )



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/dede241bc6a59ffe6d069f307b6d6b609fa2f3d3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170207/51415cc8/attachment.html>


More information about the vc mailing list