summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-08-30 11:46:29 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-08-30 11:46:29 +0200
commite6033f49decf5d1e6e9929cbefb7c099d8766964 (patch)
tree5f2dfd10889a8bc30f84eb8c106aa6037e7900f7 /netsniff-ng
parent5e67d9ebf4cfb76f359ea25ad425de81f80700cc (diff)
netsniff-ng: Simplify dump file creation logic
Instead of using goto, just check stats if stat() returned 0 and used ctx->dump_dir afterwards. This makes the logic a bit easier to follow. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng')
0 files changed, 0 insertions, 0 deletions
gned-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701310936080.3457@nanos Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/xfs/Makefile')