summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-11-23 14:02:27 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-11-24 22:01:43 +1100
commit5e7b135195bfbabc7429d92da76b0f0e003a3d78 (patch)
treec2402eda0d687a3c23200461f94f6422552ab145
parent3d5e9d21e01e74617825ec8b4537041fad3e3ff9 (diff)
tests/win32_ordinal_test.c : Better debugging when LoadLibrary fails.
-rw-r--r--tests/win32_ordinal_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/win32_ordinal_test.c b/tests/win32_ordinal_test.c
index 5324a2e..49f7860 100644
--- a/tests/win32_ordinal_test.c
+++ b/tests/win32_ordinal_test.c
@@ -1,5 +1,5 @@
/*
-** Copyright (C) 2006-2011 Erik de Castro Lopo <erikd@mega-nerd.com>
+** Copyright (C) 2006-2014 Erik de Castro Lopo <erikd@mega-nerd.com>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
@@ -105,7 +105,7 @@ win32_ordinal_test (void)
} ;
if (hmod == NULL)
- { puts ("\n\nError : cannot load DLL.\n") ;
+ { printf ("\n\nError : cannot load DLL (cwd is %s).\n", getcwd (buffer, sizeof (buffer))) ;
exit (1) ;
} ;