macloader: Fix log output and return value.

Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
tirimbino
Andreas Schneider 10 years ago committed by Ethan Chen
parent c7212d0365
commit ca1a0eea09
  1. 3
      macloader/macloader.c

@ -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…
Cancel
Save