From: VMware, Inc <> Date: Tue, 13 Mar 2012 20:09:28 +0000 (-0700) Subject: Adjust some log messages. X-Git-Tag: 2012.03.13-651368~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3078d5f3265e8b6a2a13acf64645908bad3eb6;p=thirdparty%2Fopen-vm-tools.git Adjust some log messages. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/lib/file/file.c b/open-vm-tools/lib/file/file.c index 60fe7857b..8eb280b91 100644 --- a/open-vm-tools/lib/file/file.c +++ b/open-vm-tools/lib/file/file.c @@ -1122,7 +1122,7 @@ File_CopyTree(ConstUnicode srcName, // IN: if (!File_IsDirectory(srcName)) { err = Err_Errno(); Msg_Append(MSGID(File.CopyTree.source.notDirectory) - "The source path '%s' is not a directory.\n\n", + "Source path '%s' is not a directory.", UTF8(srcName)); Err_SetErrno(err); return FALSE; @@ -1131,7 +1131,7 @@ File_CopyTree(ConstUnicode srcName, // IN: if (!File_IsDirectory(dstName)) { err = Err_Errno(); Msg_Append(MSGID(File.CopyTree.dest.notDirectory) - "The destination path '%s' is not a directory.\n\n", + "Destination path '%s' is not a directory.", UTF8(dstName)); Err_SetErrno(err); return FALSE; @@ -1381,7 +1381,7 @@ File_MoveTree(ConstUnicode srcName, // IN: if (!File_IsDirectory(srcName)) { Msg_Append(MSGID(File.MoveTree.source.notDirectory) - "The source path '%s' is not a directory.\n\n", + "Source path '%s' is not a directory.", UTF8(srcName)); return FALSE; diff --git a/open-vm-tools/lib/file/fileLockPosix.c b/open-vm-tools/lib/file/fileLockPosix.c index 655d41dd9..1462fc05b 100644 --- a/open-vm-tools/lib/file/fileLockPosix.c +++ b/open-vm-tools/lib/file/fileLockPosix.c @@ -595,7 +595,7 @@ FileLockAppendMessage(MsgList **msgs, // IN/OPT: int err) // IN: errno { MsgList_Append(msgs, MSGID(fileLock.posix) - "A file locking error (%d) has occurred: %s", + "A file locking error (%d) has occurred: %s.", err, Err_Errno2String(err)); }