summaryrefslogtreecommitdiff
path: root/src/dev/sparc/dtod.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/sparc/dtod.cc')
-rw-r--r--src/dev/sparc/dtod.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dev/sparc/dtod.cc b/src/dev/sparc/dtod.cc
index c7243cfb8..abbab2dee 100644
--- a/src/dev/sparc/dtod.cc
+++ b/src/dev/sparc/dtod.cc
@@ -50,13 +50,11 @@ using namespace std;
using namespace TheISA;
DumbTOD::DumbTOD(const Params *p)
- : BasicPioDevice(p)
+ : BasicPioDevice(p, 0x08)
{
struct tm tm = p->time;
char *tz;
- pioSize = 0x08;
-
tz = getenv("TZ");
setenv("TZ", "", 1);
tzset();