linux-mips
[Top] [All Lists]

[PATCH] Sibyte: fix compilation error.

To: ralf@linux-mips.org, glowingpurple@gmail.com, linux-mips@linux-mips.org
Subject: [PATCH] Sibyte: fix compilation error.
From: Mark Mason <mmason@upwardaccess.com>
Date: Wed, 23 Sep 2009 13:35:09 -0700
Cc: Mark Mason <mmason@upwardaccess.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
---
 arch/mips/sibyte/swarm/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/sibyte/swarm/setup.c b/arch/mips/sibyte/swarm/setup.c
index 623ffc9..5277aac 100644
--- a/arch/mips/sibyte/swarm/setup.c
+++ b/arch/mips/sibyte/swarm/setup.c
@@ -106,7 +106,7 @@ void read_persistent_clock(struct timespec *ts)
                break;
        }
        ts->tv_sec = sec;
-       tv->tv_nsec = 0;
+       ts->tv_nsec = 0;
 }
 
 int rtc_mips_set_time(unsigned long sec)
-- 
1.6.0.2


<Prev in Thread] Current Thread [Next in Thread>