Added missing CR/LF to rasctl error message output (#403)

This commit is contained in:
Uwe Seimet 2021-10-29 20:14:54 +02:00 committed by GitHub
parent 231f20daff
commit 8f7e0fa880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ int main(int argc, char* argv[])
case 'i': {
int id;
if (!GetAsInt(optarg, id)) {
cerr << "Error: Invalid device ID " << optarg;
cerr << "Error: Invalid device ID " << optarg << endl;
exit(EXIT_FAILURE);
}
device->set_id(id);
@ -152,7 +152,7 @@ int main(int argc, char* argv[])
case 'u': {
int unit;
if (!GetAsInt(optarg, unit)) {
cerr << "Error: Invalid unit " << optarg;
cerr << "Error: Invalid unit " << optarg << endl;
exit(EXIT_FAILURE);
}
device->set_unit(unit);