Skip to content

Commit 0bec91b

Browse files
committed
chore: Updated comment style to C++
1 parent 7ea045c commit 0bec91b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libltfs/arch/filename_handling.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void update_platform_safe_name(struct dentry* dentry, bool handle_invalid_char,
130130
}
131131
}
132132
#else
133-
// Checkup not needed here, memory error handling happens after function calls.
133+
/* Checkup not needed here, memory error handling happens after function call. */
134134
dentry->platform_safe_name = strdup(dentry->name.name);
135135
#endif
136136
}

src/libltfs/fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static char* generate_hash_key_name(const char *src_str, int *rc)
8989
} else
9090
free(uchar_name);
9191
#else
92-
// Chek not needed here for strdup because the error is handled where the function is called
92+
/* Checkup not needed here, memory error handling happens after function call. */
9393
key_name = strdup(src_str);
9494
*rc = 0;
9595
#endif

0 commit comments

Comments
 (0)