From fcd2c417cfd6aae96dac233a318db29caf420c4f Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Tue, 22 May 2007 04:26:53 +0000 Subject: [PATCH] Use log_Warning for warnings. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2760 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/options.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sc2/src/options.c b/sc2/src/options.c index 8891856f4..ecfb11b28 100644 --- a/sc2/src/options.c +++ b/sc2/src/options.c @@ -310,7 +310,7 @@ mountContentDir (uio_Repository *repository, const char *contentPath, if (addons[0] != NULL) { // addons were specified, but there's no /packages dir, // let alone a /packages/addons dir. - log_add (log_Error, "Warning: There's no 'packages/addons' " + log_add (log_Warning, "Warning: There's no 'packages/addons' " "directory in the 'content' directory;\n\t'--addon' " "options are ignored."); } @@ -325,7 +325,7 @@ mountContentDir (uio_Repository *repository, const char *contentPath, addonsDir = uio_openDirRelative (packagesDir, "addons", 0); if (addonsDir == NULL) { // No addon dir found. - log_add (log_Error, "Warning: There's no 'packages/addons' " + log_add (log_Warning, "Warning: There's no 'packages/addons' " "directory in the 'content' directory;\n\t'--addon' " "options are ignored."); uio_closeDir (packagesDir); @@ -364,7 +364,7 @@ mountContentDir (uio_Repository *repository, const char *contentPath, addonDir = uio_openDirRelative (addonsDir, *addons, 0); if (addonDir == NULL) { - log_add (log_Error, "Warning: directory 'packages/addons/%s' " + log_add (log_Warning, "Warning: directory 'packages/addons/%s' " "not found; addon skipped.", *addons); continue; } @@ -396,7 +396,7 @@ mountDirZips (uio_MountHandle *contentHandle, uio_DirHandle *dirHandle) uio_MOUNT_BELOW | uio_MOUNT_RDONLY, contentHandle) == NULL) { - log_add (log_Error, "Warning: Could not mount '%s': %s.", + log_add (log_Warning, "Warning: Could not mount '%s': %s.", dirList->names[i], strerror (errno)); } }