summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.c
diff options
context:
space:
mode:
authorOndrej Oprala2013-09-23 15:39:18 +0200
committerKarel Zak2013-11-08 12:54:52 +0100
commitd6e5614e5d7ad07e3290c808f14b8e7a4e93acdd (patch)
treef47110438ee2679f464b9844c543a26814a77f52 /text-utils/hexdump.c
parenthexdump: rewrite() formatting improvements (diff)
downloadkernel-qcow2-util-linux-d6e5614e5d7ad07e3290c808f14b8e7a4e93acdd.tar.gz
kernel-qcow2-util-linux-d6e5614e5d7ad07e3290c808f14b8e7a4e93acdd.tar.xz
kernel-qcow2-util-linux-d6e5614e5d7ad07e3290c808f14b8e7a4e93acdd.zip
hexdump: formatting and variable name cleanup
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'text-utils/hexdump.c')
-rw-r--r--text-utils/hexdump.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c
index cbf87dcb4..e3c3897ed 100644
--- a/text-utils/hexdump.c
+++ b/text-utils/hexdump.c
@@ -78,10 +78,8 @@ int main(int argc, char **argv)
}
/* rewrite the rules, do syntax checking */
- list_for_each(p, &fshead) {
- tfs = list_entry(p, FS, nextfs);
- rewrite(tfs);
- }
+ list_for_each(p, &fshead)
+ rewrite(list_entry(p, FS, nextfs));
next(argv);
display();