diff options
Diffstat (limited to 'linden/indra/llcommon/llsys.cpp')
-rw-r--r-- | linden/indra/llcommon/llsys.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llcommon/llsys.cpp b/linden/indra/llcommon/llsys.cpp index 148e4de..906bc65 100644 --- a/linden/indra/llcommon/llsys.cpp +++ b/linden/indra/llcommon/llsys.cpp | |||
@@ -132,23 +132,23 @@ LLOSInfo::LLOSInfo() : | |||
132 | char tmp[MAX_STRING]; /* Flawfinder: ignore */ | 132 | char tmp[MAX_STRING]; /* Flawfinder: ignore */ |
133 | if(osvi.dwMajorVersion <= 4) | 133 | if(osvi.dwMajorVersion <= 4) |
134 | { | 134 | { |
135 | snprintf( | 135 | snprintf( /* Flawfinder: ignore */ |
136 | tmp, | 136 | tmp, |
137 | sizeof(tmp), | 137 | sizeof(tmp), |
138 | "version %d.%d %s (Build %d)", | 138 | "version %d.%d %s (Build %d)", |
139 | osvi.dwMajorVersion, | 139 | osvi.dwMajorVersion, |
140 | osvi.dwMinorVersion, | 140 | osvi.dwMinorVersion, |
141 | csdversion.c_str(), | 141 | csdversion.c_str(), |
142 | (osvi.dwBuildNumber & 0xffff)); /* Flawfinder: ignore */ | 142 | (osvi.dwBuildNumber & 0xffff)); |
143 | } | 143 | } |
144 | else | 144 | else |
145 | { | 145 | { |
146 | snprintf( | 146 | snprintf( /* Flawfinder: ignore */ |
147 | tmp, | 147 | tmp, |
148 | sizeof(tmp), | 148 | sizeof(tmp), |
149 | "%s (Build %d)", | 149 | "%s (Build %d)", |
150 | csdversion.c_str(), | 150 | csdversion.c_str(), |
151 | (osvi.dwBuildNumber & 0xffff)); /*Flawfinder: ignore*/ | 151 | (osvi.dwBuildNumber & 0xffff)); |
152 | } | 152 | } |
153 | mOSString += tmp; | 153 | mOSString += tmp; |
154 | } | 154 | } |
@@ -250,7 +250,7 @@ U32 LLOSInfo::getProcessVirtualSizeKB() | |||
250 | #if LL_WINDOWS | 250 | #if LL_WINDOWS |
251 | #endif | 251 | #endif |
252 | #if LL_LINUX | 252 | #if LL_LINUX |
253 | FILE *status_filep = LLFile::fopen("/proc/self/status", "r"); | 253 | FILE* status_filep = LLFile::fopen("/proc/self/status", "r"); /* Flawfinder: ignore */ |
254 | S32 numRead = 0; | 254 | S32 numRead = 0; |
255 | char buff[STATUS_SIZE]; /* Flawfinder: ignore */ | 255 | char buff[STATUS_SIZE]; /* Flawfinder: ignore */ |
256 | bzero(buff, STATUS_SIZE); | 256 | bzero(buff, STATUS_SIZE); |
@@ -276,7 +276,7 @@ U32 LLOSInfo::getProcessResidentSizeKB() | |||
276 | #if LL_WINDOWS | 276 | #if LL_WINDOWS |
277 | #endif | 277 | #endif |
278 | #if LL_LINUX | 278 | #if LL_LINUX |
279 | FILE *status_filep = LLFile::fopen("/proc/self/status", "r"); | 279 | FILE* status_filep = LLFile::fopen("/proc/self/status", "r"); /* Flawfinder: ignore */ |
280 | if (status_filep != NULL) | 280 | if (status_filep != NULL) |
281 | { | 281 | { |
282 | S32 numRead = 0; | 282 | S32 numRead = 0; |