audio/, crypto/, libnx/, and mm/: Change some err() ERRORS to warn() WARNINGS or info()

This commit is contained in:
Gregory Nutt
2016-06-12 09:46:23 -06:00
parent 0665c7e06c
commit b29a4dd49c
23 changed files with 74 additions and 65 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ void *operator new(unsigned int nbytes)
// Oh my.. we are required to return a valid pointer and
// we cannot throw an exception! We are bad.
err("Failed to allocate\n");
err("ERROR: Failed to allocate\n");
}
#endif
+1 -1
View File
@@ -93,7 +93,7 @@ void *operator new[](unsigned int nbytes)
// Oh my.. we are required to return a valid pointer and
// we cannot throw an exception! We are bad.
err("Failed to allocate\n");
err("ERROR: Failed to allocate\n");
}
#endif
+4 -4
View File
@@ -56,25 +56,25 @@ namespace std
{
void __throw_out_of_range(const char*)
{
err("C++: Vector .at() with argument out of range\n");
err("ERROR: C++: Vector .at() with argument out of range\n");
abort();
}
void __throw_length_error(const char*)
{
err("C++: Vector resize to excessive length\n");
err("ERROR: C++: Vector resize to excessive length\n");
abort();
}
void __throw_bad_alloc()
{
err("C++: Bad allocation\n");
err("ERROR: C++: Bad allocation\n");
abort();
}
void __throw_bad_function_call()
{
err("C++: Bad function call\n");
err("ERROR: C++: Bad function call\n");
abort();
}
}