Author: adrian.chadd
Date: Thu Jul 16 20:45:11 2009
New Revision: 14200

Modified:
    playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c

Log:
Introduce a "cmd" option for later.



Modified: playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c
==============================================================================
--- playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c        
(original)
+++ playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c        Thu Jul 
16  
20:45:11 2009
@@ -14,6 +14,7 @@
  int
  main(int argc, const char *argv[])
  {
+       const char *cmd;
        const char *path;
        int block_size;
        size_t stripe_size;
@@ -23,10 +24,11 @@
          _db_init("ALL,1");
          _db_set_stderr_debug(1);

-       path = argv[1];
-       block_size = atoi(argv[2]);
-       stripe_size = atoi(argv[3]);
-       num_stripes = atoi(argv[4]);
+       cmd = argv[1];
+       path = argv[2];
+       block_size = atoi(argv[3]);
+       stripe_size = atoi(argv[4]);
+       num_stripes = atoi(argv[5]);

        (void) coss_rebuild_dir(path, stripe_size, block_size, num_stripes);


--~--~---------~--~----~------------~-------~--~----~
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