openbsd-ports/sysutils/conky/patches/patch-src_openbsd_c
2007-10-19 12:12:33 +00:00

13 lines
515 B
Plaintext

$OpenBSD: patch-src_openbsd_c,v 1.2 2007/10/19 12:12:33 jasper Exp $
--- src/openbsd.c.orig Tue Aug 28 21:12:38 2007
+++ src/openbsd.c Fri Oct 19 06:09:55 2007
@@ -497,7 +497,7 @@ get_freq_dynamic(char *p_client_buffer, size_t client_
snprintf(p_client_buffer, client_buffer_size, p_format,
(float)((cycles[1] - cycles[0]) / microseconds) / divisor);
#else
- get_freq(p_client_buffer, client_buffer_size, p_format, divisor);
+ get_freq(p_client_buffer, client_buffer_size, p_format, divisor, 1);
#endif
}