Skip to content

Commit a5b4bf1

Browse files
authored
Or does C++ insist on a const char*?
1 parent 53f7f17 commit a5b4bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ sqfs_err private_sqfs_stat(sqfs* fs, sqfs_inode* inode, struct stat* st) {
549549

550550
/* ================= End ELF parsing */
551551

552-
char* fusermount_prog = getenv("FUSERMOUNT_PROG");
552+
const char* fusermount_prog = getenv("FUSERMOUNT_PROG");
553553
if (fusermount_prog == NULL) {
554554
char* new_prog = find_fusermount();
555555
if (new_prog != NULL) {

0 commit comments

Comments
 (0)