projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea41d6b
)
btrfs: use file:line format for assertion report
author
David Sterba
<dsterba@suse.com>
Thu, 30 May 2019 16:43:53 +0000
(18:43 +0200)
committer
David Sterba
<dsterba@suse.com>
Mon, 1 Jul 2019 11:35:02 +0000
(13:35 +0200)
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>
fs/btrfs/ctree.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/ctree.h
b/fs/btrfs/ctree.h
index 2e908c557fb258969db5afc01c72b748ebcea3fe..fb74355334781d2c1fa7b20fb1099c244acb3029 100644
(file)
--- a/
fs/btrfs/ctree.h
+++ b/
fs/btrfs/ctree.h
@@
-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();
}
}