From: Eugene Syromyatnikov Date: Sat, 26 Aug 2017 22:45:16 +0000 (+0200) Subject: ubi: trim overly long lines X-Git-Tag: v4.19~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12087b75700d1c7293f53de9c83ca6ff0927c6db;p=strace ubi: trim overly long lines --- diff --git a/ubi.c b/ubi.c index 808e4a2b..9fa41e1c 100644 --- a/ubi.c +++ b/ubi.c @@ -61,9 +61,11 @@ ubi_ioctl(struct tcb *const tcp, const unsigned int code, mkvol.alignment, (int64_t)mkvol.bytes); printxval(ubi_volume_types, (uint8_t) mkvol.vol_type, "UBI_???_VOLUME"); - tprintf(", name_len=%" PRIi16 ", name=", mkvol.name_len); + tprintf(", name_len=%" PRIi16 ", name=", + mkvol.name_len); print_quoted_cstring(mkvol.name, - CLAMP(mkvol.name_len, 0, UBI_MAX_VOLUME_NAME)); + CLAMP(mkvol.name_len, 0, + UBI_MAX_VOLUME_NAME)); tprints("}"); return 1; } @@ -101,7 +103,8 @@ ubi_ioctl(struct tcb *const tcp, const unsigned int code, ", name=", rnvol.ents[c].vol_id, rnvol.ents[c].name_len); print_quoted_cstring(rnvol.ents[c].name, - CLAMP(rnvol.ents[c].name_len, 0, UBI_MAX_VOLUME_NAME)); + CLAMP(rnvol.ents[c].name_len, 0, + UBI_MAX_VOLUME_NAME)); tprints("}"); } tprints("]}");