OSDN Git Service
(root)
/
android-x86
/
external-koush-Superuser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef9f3a
)
Add missing NULL sentinel.
author
Koushik Dutta
<koushd@gmail.com>
Mon, 29 Jul 2013 01:29:34 +0000
(18:29 -0700)
committer
Koushik Dutta
<koushd@gmail.com>
Mon, 29 Jul 2013 01:29:34 +0000
(18:29 -0700)
Change-Id: I95b86d8e60d54a54280dae89ab93ff7eb322fe18
Superuser/jni/su/su.c
patch
|
blob
|
history
diff --git
a/Superuser/jni/su/su.c
b/Superuser/jni/su/su.c
index
177ca2a
..
603a22d
100644
(file)
--- a/
Superuser/jni/su/su.c
+++ b/
Superuser/jni/su/su.c
@@
-75,7
+75,7
@@
void exec_log(char *priority, char* logline) {
dup2(null, 0);
dup2(null, 1);
dup2(null, 2);
- execl("/system/bin/log", "/system/bin/log", "-p", priority, "-t", LOG_TAG, logline);
+ execl("/system/bin/log", "/system/bin/log", "-p", priority, "-t", LOG_TAG, logline
, NULL
);
_exit(0);
}
}