mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
btrfs: use file:line format for assertion report
The filename:line format is commonly understood by editors and can be copy&pasted more easily than the current format. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
ea41d6b278
commit
6f8e4fd430
1 changed files with 1 additions and 2 deletions
|
|
@ -3536,8 +3536,7 @@ __cold
|
|||
static inline void assfail(const char *expr, const char *file, int line)
|
||||
{
|
||||
if (IS_ENABLED(CONFIG_BTRFS_ASSERT)) {
|
||||
pr_err("assertion failed: %s, file: %s, line: %d\n",
|
||||
expr, file, line);
|
||||
pr_err("assertion failed: %s, in %s:%d\n", expr, file, line);
|
||||
BUG();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue