Code cleanup

This commit is contained in:
Pierre Pronchery 2014-09-05 20:52:57 +02:00
parent e2385f7e68
commit 9cab05b073

View File

@ -2023,8 +2023,9 @@ static unsigned int _reset_configure_baudrate(Hayes * hayes,
return B921600;
#endif
default:
error_set("%u%s", baudrate,
"Unsupported baudrate (using 115200)");
error_set("%u%s%u%s", baudrate,
"Unsupported baudrate (using ",
115200, ")");
hayes->helper->error(NULL, error_get(), 1);
return B115200;
}