Skip to content

Commit 84f6a1b

Browse files
Duncaenojab
andcommitted
bin/xbps-uchroot: fix build with glibc 2.43 const preserving
Co-authored-by: ojab <ojab@ojab.ru>
1 parent 9a8002c commit 84f6a1b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/xbps-uchroot/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ static void
212212
add_bindmount(const char *bm, bool ro)
213213
{
214214
struct bindmnt *bmnt;
215-
char *b, *src, *dest;
215+
const char *dest, *b;
216+
char *src;
216217
size_t len;
217218

218219
src = strdup(bm);

0 commit comments

Comments
 (0)