mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
repart: comment bare literal arguments
docs/CODING_STYLE.md asks for a /* name= */ comment whenever NULL or another value meaning "unset" is passed to a function. Add it wherever a bare NULL, 0, false or true is passed for a parameter with a telling name. Mechanical, generated by tools/check-argument-comments.py --fix.
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -9050,7 +9050,7 @@ static int context_manifest_gpt(Context *context) {
|
||||
|
||||
/* Then an object for the whole image, i.e. the complete disk including the partition table */
|
||||
uint8_t image_hash[SHA256_DIGEST_SIZE];
|
||||
r = hash_range(fd, 0, context->total, image_hash);
|
||||
r = hash_range(fd, /* offset= */ 0, context->total, image_hash);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
||||
Reference in new issue
Block a user