dtlogin: Resolve 7 compiler warnings.

This commit is contained in:
Peter Howkins
2012-08-30 22:30:36 +01:00
parent 89e76b2e9b
commit 2a9b4ec67c
4 changed files with 6 additions and 5 deletions

View File

@@ -896,7 +896,7 @@ char *temp_p;
/*
* Make sure the key file exists.
*/
if (stat( temp_p, &statb) == NULL) {
if (stat( temp_p, &statb) == 0) {
j = InitArg(ToggleBG);
if (XrmGetResource(