summaryrefslogtreecommitdiffstats
path: root/rtkit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-15 14:50:11 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-15 15:25:40 +0200
commit7bf411e4f60e80d835f65768df1041a79683f6ca (patch)
tree87f8f0990dd7820bdc9317571969c89265bc930e /rtkit.h
parente8e09c9b8900fd47366b926ee90059e2926cb0bc (diff)
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).
Diffstat (limited to 'rtkit.h')
-rw-r--r--rtkit.h2
1 files changed, 1 insertions, 1 deletions
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