diff options
author | Christopher Faylor <me@cgf.cx> | 2010-06-21 05:30:42 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-06-21 05:30:42 +0000 |
commit | 7b8cf7c89a8e242bbaed84721bdd98a8dd6f1a88 (patch) | |
tree | 33aca49e809af4797bdec68ead20a4a20bc705db /winsup/cygwin/tls_pbuf.cc | |
parent | e43e1d048f649ab7a99c0187989999a983aada97 (diff) | |
download | cygnal-7b8cf7c89a8e242bbaed84721bdd98a8dd6f1a88.tar.gz cygnal-7b8cf7c89a8e242bbaed84721bdd98a8dd6f1a88.tar.bz2 cygnal-7b8cf7c89a8e242bbaed84721bdd98a8dd6f1a88.zip |
* tls_pbuf.cc (tmp_pathbuf::w_get): Report what's failing when too many buffers
are in use.
Diffstat (limited to 'winsup/cygwin/tls_pbuf.cc')
-rw-r--r-- | winsup/cygwin/tls_pbuf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/tls_pbuf.cc b/winsup/cygwin/tls_pbuf.cc index 1f4b74807..f8102db8e 100644 --- a/winsup/cygwin/tls_pbuf.cc +++ b/winsup/cygwin/tls_pbuf.cc @@ -50,7 +50,7 @@ PWCHAR tmp_pathbuf::w_get () { if (tls_pbuf.w_cnt >= TP_NUM_W_BUFS) - api_fatal ("Internal error: TP_NUM_W_BUFS too small."); + api_fatal ("Internal error: TP_NUM_W_BUFS too small %d >= %d.", tls_pbuf.w_cnt, TP_NUM_W_BUFS); if (!tls_pbuf.w_buf[tls_pbuf.w_cnt] && !(tls_pbuf.w_buf[tls_pbuf.w_cnt] = (PWCHAR) malloc (NT_MAX_PATH * sizeof (WCHAR)))) |