TTY: switch tty_flip_buffer_push
[cascardo/linux.git] / fs / seq_file.c
index 99dffab..9d863fb 100644 (file)
@@ -300,14 +300,14 @@ EXPORT_SYMBOL(seq_read);
  *
  *     Ready-made ->f_op->llseek()
  */
-loff_t seq_lseek(struct file *file, loff_t offset, int origin)
+loff_t seq_lseek(struct file *file, loff_t offset, int whence)
 {
        struct seq_file *m = file->private_data;
        loff_t retval = -EINVAL;
 
        mutex_lock(&m->lock);
        m->version = file->f_version;
-       switch (origin) {
+       switch (whence) {
                case 1:
                        offset += file->f_pos;
                case 0: