chiark / gitweb /
add basic (and not very useful) D-Bus support
[elogind.git] / execute.c
index 6f12c276fa964bfbd2faec08f2dc861ba1e066e9..ae32bcadac53f871a485729eb19b6b097a06323d 100644 (file)
--- a/execute.c
+++ b/execute.c
@@ -551,7 +551,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
 
         for (i = 0; i < RLIM_NLIMITS; i++)
                 if (c->rlimit[i])
-                        fprintf(f, "%s: %llu\n", rlimit_to_string(i), (unsigned long long) c->rlimit[i]->rlim_max);
+                        fprintf(f, "%s%s: %llu\n", prefix, rlimit_to_string(i), (unsigned long long) c->rlimit[i]->rlim_max);
 
         if (c->ioprio_set)
                 fprintf(f,