diff options
author | ee7 <45465154+ee7@users.noreply.github.com> | 2020-12-21 18:41:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 09:41:56 -0800 |
commit | 297c8e403d110dd872e070563328f4e0c734cd01 (patch) | |
tree | 30b72bb67d7f67905432797406bd84c45fe0a419 /lib/pure/nativesockets.nim | |
parent | 29c9a1c14b67ababca7b8ad7f80a0b84d74cfc9b (diff) | |
download | Nim-297c8e403d110dd872e070563328f4e0c734cd01.tar.gz |
styleCheck: Fix some inconsistent identifiers (#16177)
Diffstat (limited to 'lib/pure/nativesockets.nim')
-rw-r--r-- | lib/pure/nativesockets.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/nativesockets.nim b/lib/pure/nativesockets.nim index 1f597f8eb..f1445fca5 100644 --- a/lib/pure/nativesockets.nim +++ b/lib/pure/nativesockets.nim @@ -209,7 +209,7 @@ proc getProtoByName*(name: string): int {.since: (1, 3, 5).} = let protoent = posix.getprotobyname(name.cstring) if protoent == nil: - raise newException(OsError, "protocol not found") + raise newException(OSError, "protocol not found") result = protoent.p_proto.int |