projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a4859e
)
macloader: Fix log output and return value.
author
Andreas Schneider
<asn@cryptomilk.org>
Mon, 26 Jan 2015 21:49:49 +0000
(22:49 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 27 Jan 2015 08:06:18 +0000
(09:06 +0100)
Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
macloader/macloader.c
patch
|
blob
|
blame
|
history
diff --git
a/macloader/macloader.c
b/macloader/macloader.c
index 7f65fef8f668676a0f5a7433566478a66382df59..7e1a10cbadfd36b06b2cff652bf777de5768938d 100644
(file)
--- a/
macloader/macloader.c
+++ b/
macloader/macloader.c
@@
-144,9
+144,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 */