From c7b06618b808029e4118f9ac083198a2040b4df4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 14 Jun 2016 12:30:37 -0400 Subject: [PATCH] Express overwrite attribute as a byte in communication protocol MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There is no need for 4 bytes to express a boolean state. Signed-off-by: Jérémie Galarneau --- include/lttng/save-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lttng/save-internal.h b/include/lttng/save-internal.h index e2528be64..aac213e03 100644 --- a/include/lttng/save-internal.h +++ b/include/lttng/save-internal.h @@ -33,7 +33,7 @@ struct lttng_save_session_attr { /* Destination of the session configuration. See lttng(1) for URL format. */ char configuration_url[PATH_MAX]; /* Overwrite the session configuration file if it exists. */ - uint32_t overwrite; + uint8_t overwrite; } LTTNG_PACKED; #endif /* LTTNG_SAVE_INTERNAL_ABI_H */ -- 2.34.1