VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / fs / smbfs / file.c
index 12fc56c..e97fc58 100644 (file)
@@ -261,7 +261,7 @@ out:
 
 static ssize_t
 smb_file_sendfile(struct file *file, loff_t *ppos,
-                 size_t count, read_actor_t actor, void __user *target)
+                 size_t count, read_actor_t actor, void *target)
 {
        struct dentry *dentry = file->f_dentry;
        ssize_t status;
@@ -271,7 +271,7 @@ smb_file_sendfile(struct file *file, loff_t *ppos,
 
        status = smb_revalidate_inode(dentry);
        if (status) {
-               PARANOIA("%s/%s validation failed, error=%zd\n",
+               PARANOIA("%s/%s validation failed, error=%Zd\n",
                         DENTRY_PATH(dentry), status);
                goto out;
        }