- Timestamp:
- May 5, 2010 8:31:14 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61104
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/pam/pam_vbox.c
r29054 r29055 89 89 { 90 90 va_list va; 91 char *buf; 91 92 va_start(va, pszFormat); 92 93 /** @todo is this NULL terminated? */ 93 char *buf;94 94 if (RT_SUCCESS(RTStrAPrintfV(&buf, pszFormat, va))) 95 95 { … … 111 111 { 112 112 va_list va; 113 char *buf; 113 114 va_start(va, pszFormat); 114 115 /** @todo is this NULL terminated? */ 115 char *buf;116 116 if (RT_SUCCESS(RTStrAPrintfV(&buf, pszFormat, va))) 117 117 { … … 130 130 131 131 132 int pam_vbox_do_check(pam_handle_t *h) 133 { 132 static int pam_vbox_do_check(pam_handle_t *h) 133 { 134 int rc; 135 int pamrc; 136 134 137 #ifdef _DEBUG 135 138 g_pam_handle = h; /* hack for getting assertion text */ … … 141 144 RTAssertSetMayPanic(false); 142 145 143 intrc = RTR3Init();146 rc = RTR3Init(); 144 147 if (RT_FAILURE(rc)) 145 148 { … … 173 176 } 174 177 175 intpamrc = PAM_OPEN_ERR; /* The PAM return code; intentionally not used as an exit value below. */178 pamrc = PAM_OPEN_ERR; /* The PAM return code; intentionally not used as an exit value below. */ 176 179 if (RT_SUCCESS(rc)) 177 180 {
Note:
See TracChangeset
for help on using the changeset viewer.