git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
951fcec
)
Fixed missing getopt_long trailing terminating NULL field
author
short
<>
Thu, 19 Sep 2002 06:58:56 +0000
(06:58 +0000)
committer
short
<>
Thu, 19 Sep 2002 06:58:56 +0000
(06:58 +0000)
src/flock.c
patch
|
blob
|
history
diff --git
a/src/flock.c
b/src/flock.c
index
41c3fe7
..
1bb08cd
100644
(file)
--- a/
src/flock.c
+++ b/
src/flock.c
@@
-45,7
+45,8
@@
const struct option longopts[]={
{"nonblock" ,0,0,'n'},
{"verbose" ,0,0,'v'},
{"help" ,0,0,'h'},
-{"version" ,0,0,'V'}};
+{"version" ,0,0,'V'},
+{NULL ,0,0,0 }};
int main(int argc,char **argv)
{