Raise an error on syscall failure in tls_retry_write_records
[openssl.git] / apps / version.c
index cab17a46bf18a0f1d17af8c884d55ffec6052e52..7185e9edcd1ddba29af5d7947132e471c21d022d 100644 (file)
@@ -99,8 +99,7 @@ opthelp:
     }
 
     /* No extra arguments. */
-    argc = opt_num_rest();
-    if (argc != 0)
+    if (!opt_check_rest_arg(NULL))
         goto opthelp;
 
     if (!dirty)