diff src/tables.c @ 238:ec28ce798b79

minor improvements in wordings
author markus schnalke <meillo@marmaro.de>
date Mon, 25 Oct 2010 14:02:18 -0300
parents 3b344bf57162
children 41958685480d
line wrap: on
line diff
--- a/src/tables.c	Fri Oct 22 11:56:47 2010 -0300
+++ b/src/tables.c	Mon Oct 25 14:02:18 2010 -0300
@@ -126,11 +126,12 @@
 			}
 		}
 		fclose(fptr);
-		if (list == NULL)
-			logwrite(LOG_NOTICE, "empty table file %s\n", fname);
+		if (!list)
+			logwrite(LOG_NOTICE, "table file %s contained no entries\n", fname);
 		return list;
 	}
-	logwrite(LOG_ALERT, "could not open table file %s: %s. Thus no aliasing is done\n", fname, strerror(errno));
+	logwrite(LOG_ALERT, "could not open table file %s: %s."
+	                    " Thus no aliasing will be done\n", fname, strerror(errno));
 
 	return NULL;
 }