VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / acpi / sleep / proc.c
index a64ef15..7eb2060 100644 (file)
@@ -345,7 +345,7 @@ acpi_system_write_alarm (
 
        acpi_set_register(ACPI_BITREG_RT_CLOCK_ENABLE, 1, ACPI_MTX_LOCK);
 
-       file->f_pos += count;
+       *ppos += count;
 
        result = 0;
 end: