Author: adrian.chadd
Date: Sun May  3 00:22:34 2009
New Revision: 14029

Modified:
    branches/LUSCA_HEAD/tools/ufs_log_build.c

Log:
Require the swaplog path too; this will be used for the "rebuild from log?"
logic.



Modified: branches/LUSCA_HEAD/tools/ufs_log_build.c
==============================================================================
--- branches/LUSCA_HEAD/tools/ufs_log_build.c   (original)
+++ branches/LUSCA_HEAD/tools/ufs_log_build.c   Sun May  3 00:22:34 2009
@@ -247,13 +247,12 @@
      _db_set_stderr_debug(1);
      store_ufs_dir_t store_ufs_info;

-
-    if (argc < 4) {
-       printf("Usage: %s <store path> <l1> <l2>\n", argv[0]);
+    if (argc < 5) {
+       printf("Usage: %s <store path> <l1> <l2> <path to swapfile>\n", 
argv[0]);
        exit(1);
      }

-    store_ufs_init(&store_ufs_info, argv[1], atoi(argv[2]), atoi(argv[3]));
+    store_ufs_init(&store_ufs_info, argv[1], atoi(argv[2]), atoi(argv[3]),  
argv[4]);

      /* Output swap header to stdout */
      (void) storeSwapLogPrintHeader(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