mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
macloader: Fix log output and return value.
Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
c7212d0365
commit
ca1a0eea09
1 changed files with 1 additions and 2 deletions
|
@ -159,9 +159,8 @@ int main() {
|
|||
|
||||
ret = fputs(type_str, cidfile);
|
||||
if (ret != 0) {
|
||||
fprintf(stderr, "fputs() to file %s failed\n", CID_PATH);
|
||||
ALOGE("Can't write to %s\n", CID_PATH);
|
||||
return -1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Change permissions of cid file */
|
||||
|
|
Loading…
Reference in a new issue