diff options
author | Martin Schwenke <martin@meltin.net> | 2014-09-15 11:48:33 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-09-17 07:29:10 +0200 |
commit | fb9c49f2ce0838baa5f94f4ca03d1c92cb58b306 (patch) | |
tree | cbb03ba54b59363881949bf21686744d55882605 /ctdb/common/system_util.c | |
parent | 6ce626201457ddb63a42b0aa1a601ab1f8ca0212 (diff) | |
download | samba-fb9c49f2ce0838baa5f94f4ca03d1c92cb58b306.tar.gz samba-fb9c49f2ce0838baa5f94f4ca03d1c92cb58b306.tar.xz samba-fb9c49f2ce0838baa5f94f4ca03d1c92cb58b306.zip |
ctdb-util: Log an error if there is no way to set scheduler
Although configure should catch this, logging a run-time error is
better than being mystified when ctdbd silently exits.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/common/system_util.c')
-rw-r--r-- | ctdb/common/system_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/common/system_util.c b/ctdb/common/system_util.c index 8e8f4ac217..6ff82f7147 100644 --- a/ctdb/common/system_util.c +++ b/ctdb/common/system_util.c @@ -77,6 +77,7 @@ bool set_scheduler(void) } #endif #endif + DEBUG(DEBUG_CRIT,("No way to set real-time priority.\n")); return false; } |