diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2016-09-24 17:45:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-24 17:45:16 +0200 |
commit | 7de07357e992310654ed3b9c179ae0984b307a74 (patch) | |
tree | bdcbea0e3c756eb0d61898b7871148682b42ad36 /src | |
parent | d9e091eae72eb2f8fec763d1df5143df44d5e662 (diff) | |
parent | 314ad9091b8688ae6b30ebdf4ddbc81d1099b3e4 (diff) |
Merge pull request #132 from Helias/warnings
Core/Build: fixed 4 warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/authserver/Main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/authserver/Main.cpp b/src/authserver/Main.cpp index e52771f448..8594f301e1 100644 --- a/src/authserver/Main.cpp +++ b/src/authserver/Main.cpp @@ -242,21 +242,21 @@ extern int main(int argc, char** argv) CPU_SET(i, &mask); if (sched_setaffinity(0, sizeof(mask), &mask)) - sLog->outError("server.authserver", "Can't set used processors (hex): %x, error: %s", affinity, strerror(errno)); + sLog->outError("Can't set used processors (hex): %x, error: %s", affinity, strerror(errno)); else { CPU_ZERO(&mask); sched_getaffinity(0, sizeof(mask), &mask); - sLog->outString("server.authserver", "Using processors (bitmask, hex): %lx", *(__cpu_mask*)(&mask)); + sLog->outString("Using processors (bitmask, hex): %lx", *(__cpu_mask*)(&mask)); } } if (highPriority) { if (setpriority(PRIO_PROCESS, 0, PROCESS_HIGH_PRIORITY)) - sLog->outError("server.authserver", "Can't set authserver process priority class, error: %s", strerror(errno)); + sLog->outError("Can't set authserver process priority class, error: %s", strerror(errno)); else - sLog->outString("server.authserver", "authserver process priority class set to %i", getpriority(PRIO_PROCESS, 0)); + sLog->outString("authserver process priority class set to %i", getpriority(PRIO_PROCESS, 0)); } #endif |