VirtualBox

Changeset 39734 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 10, 2012 9:11:00 AM (13 years ago)
Author:
vboxsync
Message:

pam_vbox: Try to solve C++ decoration hickup, logging adjustment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/pam/pam_vbox.cpp

    r39673 r39734  
    2828#endif
    2929
    30 #ifdef RT_OS_SOLARIS
    31 # include <security/pam_appl.h>
    32 #endif
    33 #include <security/pam_modules.h>
    3430#include <security/pam_appl.h>
    3531#ifdef RT_OS_LINUX
     
    464460                rc = VERR_INVALID_PARAMETER;
    465461            }
    466         }
    467     }
    468 
    469     pam_vbox_log(hPAM, "pam_vbox_read_prop: read key \"%s\"=\"%s\" with rc=%Rrc\n",
    470                  pszKey, pszValue, rc);
     462
     463            if (RT_SUCCESS(rc))
     464                pam_vbox_log(hPAM, "pam_vbox_read_prop: read key \"%s\"=\"%s\"\n",
     465                             pszKey, pszValue);
     466        }
     467    }
     468
     469    pam_vbox_log(hPAM, "pam_vbox_read_prop: read key \"%s\" with rc=%Rrc\n",
     470                 pszKey, rc);
    471471    return rc;
    472472}
     
    530530}
    531531#endif
    532 
    533532
    534533/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette