X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fcommon%2Fcommon.c;h=3c48e84f31bc6d8b1a6209441b7e4e6817972ef8;hp=4aa8fcd2a70e3ec9a890182fbf7f89350c97936f;hb=3f7d4d90b0456de9d34fac337350818ef06163bd;hpb=44ced4ff8e8b5e46ef03f3aec737fca5ca2c7003 diff --git a/src/common/common.c b/src/common/common.c index 4aa8fcd2..3c48e84f 100644 --- a/src/common/common.c +++ b/src/common/common.c @@ -169,8 +169,8 @@ char *bt_common_get_home_plugin_path(void) length = strlen(home_dir) + strlen(HOME_PLUGIN_SUBPATH) + 1; if (length >= PATH_MAX) { - BT_LOGW("Home directory path is too long: length=%zu", - length); + BT_LOGW("Home directory path is too long: " + "length=%zu, max-length=%u", length, PATH_MAX); goto end; }