aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-11-07 19:00:02 +0000
committerChristopher Faylor <me@cgf.cx>2000-11-07 19:00:02 +0000
commit64ef9db779e3909490ece705c3b16e4a7319c59a (patch)
treed51c023a8fc9e060e3a3a6fc5393a2f67dc64761 /winsup
parent442a3c7821a44d4fdb03310a53347a7b7598767a (diff)
downloadnewlib-64ef9db779e3909490ece705c3b16e4a7319c59a.zip
newlib-64ef9db779e3909490ece705c3b16e4a7319c59a.tar.gz
newlib-64ef9db779e3909490ece705c3b16e4a7319c59a.tar.bz2
Fix typos.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/environ.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index 379b7bd..71acab5 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -235,10 +235,10 @@ _addenv (const char *name, const char *value, int overwrite)
if (!__cygwin_environ)
{
-#ifdef DEBUGING
+#ifdef DEBUGGING
try_to_debug ();
- return -1; /* Oops. No more memory. */
#endif
+ return -1; /* Oops. No more memory. */
}
__cygwin_environ[offset + 1] = NULL; /* NULL terminate. */
@@ -598,7 +598,7 @@ environ_init (char **envp, int envc)
parse_options (newp + sizeof("CYGWIN=") - 1);
if (*eq && conv_start_chars[(unsigned char)envp[i][0]])
posify (envp + i, *++eq ? eq : --eq);
- debug_printf ("%s", envp[i]);
+ debug_printf ("%p: %s", envp[i], envp[i]);
}
if (!sawTERM)