git://git.jankratochvil.net
/
gnokii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8f1eee8
)
Fix uClinux on i386 SIGSEGV
author
short
<>
Mon, 4 Mar 2002 00:53:20 +0000
(
00:53
+0000)
committer
short
<>
Mon, 4 Mar 2002 00:53:20 +0000
(
00:53
+0000)
gnokii/gnokii.c
patch
|
blob
|
history
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];
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)) {
if(checkargs(c, gals, nargc)) {