Fixed missing getopt_long trailing terminating NULL field
[nethome.git] / 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)
 {