Author: adrian.chadd
Date: Tue Apr 28 04:24:35 2009
New Revision: 14004

Modified:
    branches/LUSCA_HEAD/libsqstore/store_file_ufs.c
    branches/LUSCA_HEAD/libsqstore/store_file_ufs.h

Log:
Fix bad conversaion



Modified: branches/LUSCA_HEAD/libsqstore/store_file_ufs.c
==============================================================================
--- branches/LUSCA_HEAD/libsqstore/store_file_ufs.c     (original)
+++ branches/LUSCA_HEAD/libsqstore/store_file_ufs.c     Tue Apr 28 04:24:35 2009
@@ -53,10 +53,10 @@
   * Create a UFS directory path given the component bits.
   */
  int
-store_ufs_createDir(store_ufs_dir_t *sd, char *buf)
+store_ufs_createDir(store_ufs_dir_t *sd, int i, int j, char *buf)
  {
      buf[0] = '\0';
-    snprintf(buf, SQUID_MAXPATHLEN, "%s/%02X/%02X", store_ufs_path(sd),  
store_ufs_l1(sd), store_ufs_l2(sd));
+    snprintf(buf, SQUID_MAXPATHLEN, "%s/%02X/%02X", store_ufs_path(sd), i,  
j);
      return 1;
  }


Modified: branches/LUSCA_HEAD/libsqstore/store_file_ufs.h
==============================================================================
--- branches/LUSCA_HEAD/libsqstore/store_file_ufs.h     (original)
+++ branches/LUSCA_HEAD/libsqstore/store_file_ufs.h     Tue Apr 28 04:24:35 2009
@@ -12,7 +12,7 @@
  extern void store_ufs_done(store_ufs_dir_t *sd);

  extern int store_ufs_createPath(store_ufs_dir_t *sd, int swap_filen, char  
*buf);
-extern int store_ufs_createDir(store_ufs_dir_t *sd, char *buf);
+extern int store_ufs_createDir(store_ufs_dir_t *sd, int d1, int d2, char  
*buf);
  extern int store_ufs_filenum_correct_dir(store_ufs_dir_t *sd, int fn, int  
F1, int F2);

  static inline int store_ufs_l1(store_ufs_dir_t *sd) { return sd->l1; }

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