From: Dmitry V. Levin Date: Tue, 24 May 2016 01:09:04 +0000 (+0000) Subject: btrfs.c: cleanup use of tcp->auxstr X-Git-Tag: v4.12~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6638a5d1324f6c82113884ac974ae41397bed7ed;p=strace btrfs.c: cleanup use of tcp->auxstr * btrfs.c (btrfs_ioctl): Reset tcp->auxstr only if it is set. --- diff --git a/btrfs.c b/btrfs.c index 1eed651c..5a4c76fe 100644 --- a/btrfs.c +++ b/btrfs.c @@ -860,11 +860,11 @@ btrfs_ioctl(struct tcb *tcp, const unsigned int code, const long arg) tprints("{"); if (tcp->auxstr) { + tcp->auxstr = NULL; tprints("treeid="); btrfs_print_objectid(args.treeid); tprints(", "); } - tcp->auxstr = NULL; tprints("name="); print_quoted_string(args.name, sizeof(args.name),