From 7bf411e4f60e80d835f65768df1041a79683f6ca Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 15 May 2012 14:50:11 +0200 Subject: rlimit: RLIMIT_RTTIME is in usec, not nsec We are taking the liberty not to bump the bus API. This should be unproblematic since it's only an auxiliary function, and not exported in any binary API (but is in a drop-in file). --- rtkit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtkit.h') diff --git a/rtkit.h b/rtkit.h index 2b5b2c2..ac4d599 100644 --- a/rtkit.h +++ b/rtkit.h @@ -69,7 +69,7 @@ int rtkit_get_min_nice_level(DBusConnection *system_bus, int* min_nice_level); /* Return the maximum value of RLIMIT_RTTIME to set before attempting a * realtime request. A negative value is an errno style error code. */ -long long rtkit_get_rttime_nsec_max(DBusConnection *system_bus); +long long rtkit_get_rttime_usec_max(DBusConnection *system_bus); #ifdef __cplusplus -- cgit