RTC for 2.1.43

Elliot Lee (sopwith@redhat.com)
Mon, 16 Jun 1997 21:58:12 -0400 (EDT)


This patch fixes a typo(?).

-- Elliot

--- linux-2.1.43/drivers/char/rtc.c.sopwith Mon Jun 16 21:45:36 1997
+++ linux-2.1.43/drivers/char/rtc.c Mon Jun 16 21:52:47 1997
@@ -180,7 +180,7 @@
data = rtc_irq_data;
rtc_irq_data = 0;
restore_flags(flags);
- retval = put_user(data, (unsigned long *)buf)) ?: sizeof(unsigned long);
+ retval = put_user(data, (unsigned long *)buf)?:sizeof(unsigned long);
}

current->state = TASK_RUNNING;