2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

checkpatch: Fix typo for use as filter.

ovs_checkpatch_parse() takes 2 arguments, not sys.exit().  Oops.

Fixes: 95bd35d3db ("checkpatch: Implement -f option more usefully.")
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
This commit is contained in:
Ben Pfaff
2017-06-01 07:40:01 -07:00
parent d6ec6c108a
commit f651d4ac4b

View File

@@ -458,5 +458,5 @@ if __name__ == '__main__':
if sys.stdin.isatty():
usage()
sys.exit(-1)
sys.exit(ovs_checkpatch_parse(sys.stdin.read()), '-')
sys.exit(ovs_checkpatch_parse(sys.stdin.read(), '-'))
sys.exit(ovs_checkpatch_file(filename))