mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
correct code format (indent)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@861 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
@@ -77,8 +77,8 @@ static void my_button_exec(RESULT * result, int argc, RESULT * argv[])
|
||||
args[i] = (char *) 0;
|
||||
env[0] = (char *) 0;
|
||||
pid = fork();
|
||||
if (pid == 0) { // child-process
|
||||
// char *args[] = {"-r", "-t", "-l", (char *) 0 };
|
||||
if (pid == 0) { /* child-process */
|
||||
/* char *args[] = {"-r", "-t", "-l", (char *) 0 }; */
|
||||
info("executing program");
|
||||
execve(prog, args, env);
|
||||
errsv = errno;
|
||||
|
||||
Reference in New Issue
Block a user