diff options
author | Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> | 2016-01-15 00:16:53 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-15 01:00:49 +0100 |
commit | 72214a24a7677d4c7501eecc9517ed681b5f2db2 (patch) | |
tree | 7149adc6a4eede8db2284e0148582bf3c6b7bf7d /fs/notify/inode_mark.c | |
parent | dma-debug: switch check from _text to _stext (diff) | |
download | linux-72214a24a7677d4c7501eecc9517ed681b5f2db2.tar.xz linux-72214a24a7677d4c7501eecc9517ed681b5f2db2.zip |
scripts/bloat-o-meter: fix python3 syntax error
In Python3+ print is a function so the old syntax is not correct
anymore:
$ ./scripts/bloat-o-meter vmlinux.o vmlinux.o.old
File "./scripts/bloat-o-meter", line 61
print "add/remove: %s/%s grow/shrink: %s/%s up/down: %s/%s (%s)" % \
^
SyntaxError: invalid syntax
Fix by calling print as a function.
Tested on python 2.7.11, 3.5.1
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/notify/inode_mark.c')
0 files changed, 0 insertions, 0 deletions