summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2014-09-02 16:37:42 -0700
committerBen Pfaff <blp@nicira.com>2014-09-29 14:47:23 -0700
commit91148d4b40eb1962cbf243055e10a32de87df02b (patch)
tree8a08212e0f8392f8c3ed1739335a536d637d387d /build-aux
parentef44aa5001a4f6b06a4d65457d459bc004c37f48 (diff)
downloadopenvswitch-91148d4b40eb1962cbf243055e10a32de87df02b.tar.gz
extract-ofp-msgs: Correct some user messages.
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/extract-ofp-msgs4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/extract-ofp-msgs b/build-aux/extract-ofp-msgs
index 256a6c2a0..0ccd64e59 100755
--- a/build-aux/extract-ofp-msgs
+++ b/build-aux/extract-ofp-msgs
@@ -104,7 +104,7 @@ def extract_ofp_msgs(output_file_name):
while not comment.endswith('*/'):
get_line()
if line.startswith('/*') or not line or line.isspace():
- fatal("unexpected syntax within error")
+ fatal("unexpected syntax within message")
comment += ' %s' % line.lstrip('* \t').rstrip(' \t\r\n')
comment = comment[:-2].rstrip()
@@ -356,7 +356,7 @@ if __name__ == '__main__':
if '--help' in sys.argv:
usage()
elif len(sys.argv) != 3:
- sys.stderr.write("exactly one non-option arguments required; "
+ sys.stderr.write("exactly two non-option arguments required; "
"use --help for help\n")
sys.exit(1)
else: