diff options
author | Alessio Balsini <balsini@android.com> | 2019-10-22 11:31:05 +0100 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-10-26 17:38:34 -0500 |
commit | b7265da4ccdfe4d256e72dc1b2a0f6b54e087ad2 (patch) | |
tree | 793e5f4c4d7a0d8cc7f548d2a2b6bbc67a7d8d80 /tests/file.test | |
parent | 55d937611597a4e54a17b344c81810ad1fe9f75d (diff) | |
download | toybox-b7265da4ccdfe4d256e72dc1b2a0f6b54e087ad2.tar.gz |
losetup: Change variable name to improve readability
Having a dynamic memory pointer named as "s", issuing "free(s)" and then
performing "FLAG(s)" is correct: "FLAG(s)" is a macro which uses "s" as
a token and expands as "FLAG_s". At a glance, this would instead look
like a use-after-free violation.
Fix this readability issue by renaming the "s" pointer variable to
"f_path".
Change-Id: I51f139034a7dcd67a08a6952bc22c1a904162c65
Signed-off-by: Alessio Balsini <balsini@android.com>
Diffstat (limited to 'tests/file.test')
0 files changed, 0 insertions, 0 deletions