changeset: 2704:da2adf9451d0
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Fri Jun 04 18:15:11 2010 -0400
files: lib/libstuff/util/nsec.c lib/libwmii_hack/Makefile
description:
[libstuff] Fix nsec().
diff -r c46e6c24afa0 -r da2adf9451d0 lib/libstuff/util/nsec.c
--- a/lib/libstuff/util/nsec.c Fri Jun 04 16:49:34 2010 -0400
+++ b/lib/libstuff/util/nsec.c Fri Jun 04 18:15:11 2010 -0400
@@ -8,6 +8,6 @@
struct timeval tv;
gettimeofday(&tv, nil);
- return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_sec * 1000;
+ return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_usec * 1000;
}
diff -r c46e6c24afa0 -r da2adf9451d0 lib/libwmii_hack/Makefile
--- a/lib/libwmii_hack/Makefile Fri Jun 04 16:49:34 2010 -0400
+++ b/lib/libwmii_hack/Makefile Fri Jun 04 18:15:11 2010 -0400
@@ -9,8 +9,8 @@
TARG = libwmii_hack
# Can't just link libstuff here. We need PIC objects.
OBJ = hack \
- ../libstuff/util/getbase \
- ../libstuff/util/getlong \
+ ../libstuff/util/getbase \
+ ../libstuff/util/getlong \
../libstuff/util/tokenize
include $(ROOT)/mk/so.mk
Received on Fri Jun 04 2010 - 22:15:25 UTC
This archive was generated by hypermail 2.2.0 : Fri Jun 04 2010 - 22:24:04 UTC