diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-19 12:35:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-19 12:35:22 +0000 |
commit | 172f3673adc44c3d0feb19bf5e873d662a78b5f9 (patch) | |
tree | 9a1d2a0951aafbd0c49c727260959931d163560f | |
parent | e3653bfe6fd1a4b13aeb0ba0a7a3e8dd3e8215f1 (diff) | |
download | ruby-172f3673adc44c3d0feb19bf5e873d662a78b5f9.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c index 7c88b8911c..6168ed1510 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); |