snapuserd_daemon: Modify incorrect print information
StartServerForUserspaceSnapshots function, if the child resulting from the separation parameter number is not equal to 4, will be print Malformed message: expected four sub-arguments, but at present there is print three Change-Id: Idc240714a65bc3eeb1e2b9958354de98ca4b329e
This commit is contained in:
parent
82c43e8b92
commit
44d88ca703
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ bool Daemon::StartServerForUserspaceSnapshots(int arg_start, int argc, char** ar
|
|||
for (int i = arg_start; i < argc; i++) {
|
||||
auto parts = android::base::Split(argv[i], ",");
|
||||
if (parts.size() != 4) {
|
||||
LOG(ERROR) << "Malformed message, expected three sub-arguments.";
|
||||
LOG(ERROR) << "Malformed message, expected four sub-arguments.";
|
||||
return false;
|
||||
}
|
||||
auto handler = user_server_.AddHandler(parts[0], parts[1], parts[2], parts[3]);
|
||||
|
|
Loading…
Reference in a new issue