Skip to content

Commit 3f18e93

Browse files
committed
fixup! lib: fix build with glibc 2.43 const preserving
1 parent 3807d5f commit 3f18e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/package_unpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ unpack_archive(struct xbps_handle *xhp,
297297
*/
298298
if (!force && (entry_type == AE_IFREG)) {
299299
const char *absolute = strchr(entry_pname, '.') + 1;
300-
assert(buf != NULL);
300+
assert(absolute != NULL);
301301
keep_conf_file = xbps_entry_is_a_conf_file(binpkg_filesd, absolute);
302302
}
303303

0 commit comments

Comments
 (0)