Revision: 14530
Author: adrian.chadd
Date: Fri Apr  2 23:02:54 2010
Log: Fix Issue #100 - off-by-one in argument count checking


http://code.google.com/p/lusca-cache/source/detail?r=14530

Modified:
 /branches/LUSCA_HEAD/app/ufs_rebuild/ufs_rebuild.c

=======================================
--- /branches/LUSCA_HEAD/app/ufs_rebuild/ufs_rebuild.c Fri Mar 26 06:11:29 2010 +++ /branches/LUSCA_HEAD/app/ufs_rebuild/ufs_rebuild.c Fri Apr 2 23:02:54 2010
@@ -55,7 +55,7 @@
        char *wbuf = NULL;
        char *debug_args = "ALL,1";

-       if (argc < 5) {
+       if (argc < 6) {
                usage(argv[0]);
                exit(1);
        }

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to