beb7b383c5bcc4e29b697f1730c9c1fd8d5dcb13
kent
  Wed Apr 13 14:21:50 2016 -0700
Improving error message in fileModTime.

diff --git src/lib/osunix.c src/lib/osunix.c
index 56cfe01..dbc3ee5 100644
--- src/lib/osunix.c
+++ src/lib/osunix.c
@@ -256,31 +256,31 @@
 struct fileInfo *listDirX(char *dir, char *pattern, boolean fullPath)
 /* Return list of files matching wildcard pattern with
  * extra info. If full path is true then the path will be
  * included in the name of each file. */
 {
 return listDirXExt(dir, pattern, fullPath, FALSE);
 }
 
 time_t fileModTime(char *pathName)
 /* Return file last modification time.  The units of
  * these may vary from OS to OS, but you can depend on
  * later files having a larger time. */
 {
 struct stat st;
 if (stat(pathName, &st) < 0)
-    errAbort("stat failed in fileModTime: %s", pathName);
+    errnoAbort("stat failed in fileModTime: %s", pathName);
 return st.st_mtime;
 }
 
 
 char *getHost()
 /* Return host name. */
 {
 static char *hostName = NULL;
 static char buf[128];
 if (hostName == NULL)
     {
     hostName = getenv("HTTP_HOST");
     if (hostName == NULL)
         {
 	hostName = getenv("HOST");