libDtSvc: Resolve 89 compiler warnings.

This commit is contained in:
Peter Howkins
2012-09-01 21:35:10 +01:00
parent 92743e0999
commit e9bb2bcf09
24 changed files with 84 additions and 83 deletions

View File

@@ -443,7 +443,7 @@ _DtEnvControl(
* then put our dt string just ahead of
* "/usr/bin/X11" in the new PATH
*/
*(ptr - 1) = NULL;
*(ptr - 1) = '\0';
sprintf(_postDtEnvironment.binPath,
"%s=%s:%s:%s",
BIN_PATH_ENVIRON,
@@ -479,7 +479,7 @@ _DtEnvControl(
* "/usr/bin" in the new PATH
*/
*(ptr - 1) = NULL;
*(ptr - 1) = '\0';
sprintf(_postDtEnvironment.binPath,
"%s=%s:%s:%s",
BIN_PATH_ENVIRON,