summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-19 12:35:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-19 12:35:22 +0000
commit172f3673adc44c3d0feb19bf5e873d662a78b5f9 (patch)
tree9a1d2a0951aafbd0c49c727260959931d163560f
parente3653bfe6fd1a4b13aeb0ba0a7a3e8dd3e8215f1 (diff)
etc.c: fix typo
* ext/etc/etc.c (etc_uname): fix typo, `len` with `plen`, and an extra semicolon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/etc/etc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index 7c88b8911c7..6168ed15106 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -705,7 +705,7 @@ etc_uname(VALUE obj)
# if defined _MSC_VER && _MSC_VER < 1300
# define GET_COMPUTER_NAME(ptr, plen) GetComputerNameW(ptr, plen)
# else
-# define GET_COMPUTER_NAME(ptr, plen) GetComputerNameExW(ComputerNameDnsFullyQualified, ptr, len);
+# define GET_COMPUTER_NAME(ptr, plen) GetComputerNameExW(ComputerNameDnsFullyQualified, ptr, plen)
# endif
GET_COMPUTER_NAME(NULL, &len);
buf = ALLOCV_N(WCHAR, vbuf, len);