Fixed missing getopt_long trailing terminating NULL field
authorshort <>
Thu, 19 Sep 2002 06:58:56 +0000 (06:58 +0000)
committershort <>
Thu, 19 Sep 2002 06:58:56 +0000 (06:58 +0000)
src/flock.c

index 41c3fe7..1bb08cd 100644 (file)
@@ -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)
 {