Typo fix in logthrottling_test
This commit is contained in:
@ -216,7 +216,7 @@ int main(int argc, char* argv[])
|
|||||||
// window, we should get no messages.
|
// window, we should get no messages.
|
||||||
if (!run(t, LOG_WARNING, 100, 0))
|
if (!run(t, LOG_WARNING, 100, 0))
|
||||||
{
|
{
|
||||||
rc = EXIT_FAILURE;<< strerror(errno) <<
|
rc = EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
cout << "Sleeping 6 seconds." << endl;
|
cout << "Sleeping 6 seconds." << endl;
|
||||||
@ -276,7 +276,7 @@ int main(int argc, char* argv[])
|
|||||||
cmd += logdir;
|
cmd += logdir;
|
||||||
if (system(cmd.c_str()) == -1)
|
if (system(cmd.c_str()) == -1)
|
||||||
{
|
{
|
||||||
cerr << "Could not remove all files due to " << strerror(errno) << endl;
|
cerr << "Could not remove all files";
|
||||||
}
|
}
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
|
|||||||
Reference in New Issue
Block a user