summaryrefslogtreecommitdiffstats
path: root/contrib/errcode/errcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/errcode/errcode.py')
-rwxr-xr-xcontrib/errcode/errcode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/errcode/errcode.py b/contrib/errcode/errcode.py
index 8a8ce808..7bc8d9e1 100755
--- a/contrib/errcode/errcode.py
+++ b/contrib/errcode/errcode.py
@@ -40,7 +40,7 @@ def lookup_errno_component(defines, component):
else:
return '0x%x' % component
-class Errno(object):
+class Errcode(object):
def __init__(self, errno):
self.pxenv_status = to_pxenv_status(errno)
self.uniq = to_uniq(errno)
@@ -74,5 +74,5 @@ if __name__ == '__main__':
except ValueError:
usage()
- print Errno(errno)
+ print Errcode(errno)
sys.exit(0)