diff --git a/src/bin/clock/Makefile b/src/bin/clock/Makefile index 4aa5a59..411bc55 100644 --- a/src/bin/clock/Makefile +++ b/src/bin/clock/Makefile @@ -20,6 +20,8 @@ #Startup File STARTUP = ../../lib/ubix/startup.o +LIBRARIES = ../../lib/libc/libc.so + # Link The Binary $(BINARY) : $(OBJS) $(CC) $(CFLAGS) -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) diff --git a/src/bin/clock/main.c b/src/bin/clock/main.c index d55ca99..86fae14 100644 --- a/src/bin/clock/main.c +++ b/src/bin/clock/main.c @@ -66,7 +66,7 @@ int min = 0x0; int sec = 0x0; - sysTime = gettime(); + //sysTime = gettime(); year = (sysTime/YEAR) + 1970; sysTime -= (YEAR * (year-1970)); @@ -96,6 +96,11 @@ /*** $Log$ + Revision 1.4 2004/06/04 16:15:14 reddawg + shell: fixed a segfault bug comparing a null pointer + clock: prints correct time now + login: fixed a pointer conversion + Revision 1.3 2004/05/21 15:45:36 reddawg Fixed our clock to print the time instead of forcing it into the video buffer