Blame 0002-trace-cmd-library-Fix-decleration-of-msg_lseek.patch

b641be
From b2bf3d3f33d343b88008d18d38dbbb40edf4db1f Mon Sep 17 00:00:00 2001
b641be
From: Daniel Wagner <dwagner@suse.de>
b641be
Date: Wed, 24 Aug 2022 14:34:29 +0200
b641be
Subject: [PATCH] trace-cmd library: Fix decleration of msg_lseek
b641be
b641be
The definition wants an off64_t argument, thus fix up the
b641be
deceleration. On 64bit archs there is no difference but not so on
b641be
32 bit archs.
b641be
b641be
Signed-off-by: Daniel Wagner <dwagner@suse.de>
b641be
---
b641be
 lib/trace-cmd/include/trace-cmd-local.h | 2 +-
b641be
 1 file changed, 1 insertion(+), 1 deletion(-)
b641be
b641be
diff --git a/lib/trace-cmd/include/trace-cmd-local.h b/lib/trace-cmd/include/trace-cmd-local.h
b641be
index f9892fa77a8c..6ac341374941 100644
b641be
--- a/lib/trace-cmd/include/trace-cmd-local.h
b641be
+++ b/lib/trace-cmd/include/trace-cmd-local.h
b641be
@@ -91,7 +91,7 @@ struct cpu_data_source {
b641be
 int out_write_cpu_data(struct tracecmd_output *handle, int cpus,
b641be
 		       struct cpu_data_source *data, const char *buff_name);
b641be
 int out_write_emty_cpu_data(struct tracecmd_output *handle, int cpus);
b641be
-off64_t msg_lseek(struct tracecmd_msg_handle *msg_handle, off_t offset, int whence);
b641be
+off64_t msg_lseek(struct tracecmd_msg_handle *msg_handle, off64_t offset, int whence);
b641be
 unsigned long long get_last_option_offset(struct tracecmd_input *handle);
b641be
 unsigned int get_meta_strings_size(struct tracecmd_input *handle);
b641be
 
b641be
-- 
b641be
2.37.1
b641be