git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix uClinux on i386 SIGSEGV
[gnokii.git]
/
gnokii
/
gnokii.c
diff --git
a/gnokii/gnokii.c
b/gnokii/gnokii.c
index
fadf2b4
..
caec03c
100644
(file)
--- a/
gnokii/gnokii.c
+++ b/
gnokii/gnokii.c
@@
-1282,7
+1282,7
@@
int main(int argc, char *argv[])
for(i = 2; i < argc; i++)
nargv[i-2] = argv[i];
- nargv[argc
] = NULL;
/* required by gnokiid() for execv(3) */
+ nargv[argc
-2] = NULL;
/* required by gnokiid() for execv(3) */
if(checkargs(c, gals, nargc)) {