aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2015-01-30 11:28:09 -0500
committerGravatar Lioncash <mathew1800@gmail.com>2015-01-30 11:28:09 -0500
commit0c53cc52bd3050fa000188ae6472659a402c6893 (patch)
tree171d6de97314c6e67713ff7683421391320a8ea7 /src
parent28702cbfeb1fe21109f8b1efa189785594319b78 (diff)
apt_u: Fix missing printf specifiers
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/apt_u.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/apt_u.cpp b/src/core/hle/service/apt_u.cpp
index 629b670e..4c3f621d 100644
--- a/src/core/hle/service/apt_u.cpp
+++ b/src/core/hle/service/apt_u.cpp
@@ -373,7 +373,7 @@ void SetAppCpuTimeLimit(Service::Interface* self) {
u32 percent = cmd_buff[2];
if (value != 1) {
- LOG_ERROR(Service_APT, "This value must be one!", value);
+ LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value);
}
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
@@ -395,7 +395,7 @@ void GetAppCpuTimeLimit(Service::Interface* self) {
u32 value = cmd_buff[1];
if (value != 1) {
- LOG_ERROR(Service_APT, "This value must be one!", value);
+ LOG_ERROR(Service_APT, "This value should be one, but is actually %u!", value);
}
// TODO(purpasmart96): This is incorrect, I'm pretty sure the percentage should