diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-02 03:50:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-02 03:50:11 +0000 |
commit | 05726ddd86c1421add510d5e8395cf7e3ac378f3 (patch) | |
tree | e7a339d3b7773fee264eb134e3acfb1ca87877f2 /winsup/cygwin/uinfo.cc | |
parent | b9b1b38358983f564e48ced1a9a599698e1be36f (diff) | |
download | cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.gz cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.bz2 cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.zip |
white space and minor comment cleanup.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r-- | winsup/cygwin/uinfo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 0ee38f791..894132658 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -450,7 +450,7 @@ cygheap_user::env_systemroot (const char *name, size_t namelen) { int size = GetWindowsDirectory (NULL, 0); if (size > 0) - { + { psystemroot = (char *) cmalloc (HEAP_STR, ++size); size = GetWindowsDirectory (psystemroot, size); if (size <= 0) @@ -460,7 +460,7 @@ cygheap_user::env_systemroot (const char *name, size_t namelen) } } if (size <= 0) - debug_printf ("GetWindowsDirectory(), %E"); + debug_printf ("GetWindowsDirectory(), %E"); } return psystemroot; } |