From 28a95cd4a0d0be2b84e4f2dc9dcd1d7411c33ecf Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 9 May 2019 11:34:12 +0200 Subject: bbu: bbu_register_std_file_update should take const char* String arguments to bbu_register_std_file_update should be const. Signed-off-by: Sascha Hauer --- common/bbu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/bbu.c b/common/bbu.c index 5cb09e4eb0..3271d403b7 100644 --- a/common/bbu.c +++ b/common/bbu.c @@ -361,7 +361,7 @@ err_close: * Return: 0 if successful, negative error code otherwise */ int bbu_register_std_file_update(const char *name, unsigned long flags, - char *devicefile, enum filetype imagetype) + const char *devicefile, enum filetype imagetype) { struct bbu_std *std; struct bbu_handler *handler; -- cgit v1.2.3