[Pvfs2-cvs] commit by vilayann in pvfs2-1/src/kernel/linux-2.6: file.c

CVS commit program cvs at parl.clemson.edu
Tue May 30 23:25:28 EDT 2006


Update of /projects/cvsroot/pvfs2-1/src/kernel/linux-2.6
In directory parlweb1:/tmp/cvs-serv26785/src/kernel/linux-2.6

Modified Files:
      Tag: posix-extensions-branch
	file.c 
Log Message:
more build fixes for x86 64



Index: file.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/kernel/linux-2.6/file.c,v
diff -p -u -r1.114.2.3 -r1.114.2.4
--- file.c	31 May 2006 03:24:33 -0000	1.114.2.3
+++ file.c	31 May 2006 03:25:28 -0000	1.114.2.4
@@ -734,11 +734,11 @@ static ssize_t do_readv_writev(int type,
               {
                   pvfs2_error(
                         "%s: error on handle %llu, "
-                        "FILE: %s\n  -- returning %d\n",
+                        "FILE: %s\n  -- returning %ld\n",
                         fnstr, llu(pvfs2_ino_to_handle(inode->i_ino)),
                         (file && file->f_dentry && file->f_dentry->d_name.name ?
                          (char *)file->f_dentry->d_name.name : "UNKNOWN"),
-                        ret);
+                        (long) ret);
               }
               goto out;
         }
@@ -1137,7 +1137,7 @@ static ssize_t do_readx_writex(int type,
                         &seg_count_stream, &seg_array_stream) /* OUT */) < 0)
         {
             pvfs2_error("Failed to split iovecs to satisfy larger "
-                    " than blocksize readx request %d\n", ret);
+                    " than blocksize readx request %ld\n", (long) ret);
             goto out;
         }
         pvfs2_print("%s: Splitting xtvecs from %lu to %lu [max_new %lu]\n", 



More information about the Pvfs2-cvs mailing list