healthd: fix runstring option error reporting
Change-Id: I548d837afbde8a66826bb2cdb79ede7edda42b1f
This commit is contained in:
parent
c27843f2a9
commit
1c3d3cdea1
|
@ -342,7 +342,8 @@ int main(int argc, char **argv) {
|
|||
break;
|
||||
case '?':
|
||||
default:
|
||||
KLOG_ERROR(LOG_TAG, "Unrecognized healthd option: %c\n", ch);
|
||||
KLOG_ERROR(LOG_TAG, "Unrecognized healthd option: %c\n",
|
||||
optopt);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue