summaryrefslogtreecommitdiffstats
path: root/bus/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/test.c')
-rw-r--r--bus/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/test.c b/bus/test.c
index c492cccc..d6697085 100644
--- a/bus/test.c
+++ b/bus/test.c
@@ -296,7 +296,7 @@ bus_context_new_test (const DBusString *test_data_dir,
DBusString relative;
BusContext *context;
- if (!_dbus_string_init (&config_file, _DBUS_INT_MAX))
+ if (!_dbus_string_init (&config_file))
{
_dbus_warn ("No memory\n");
return NULL;