tree-wide: fix typo and comment style update
This commit is contained in:
+1
-1
@@ -504,7 +504,7 @@ int read_virtual_file_fd(int fd, size_t max_size, char **ret_contents, size_t *r
|
||||
* at least one more byte to be able to distinguish EOF from truncation. */
|
||||
if (max_size != SIZE_MAX && n > max_size) {
|
||||
n = size; /* Make sure we never use more than what we sized the buffer for (so that
|
||||
* we have one free byte in it for the trailing NUL we add below).*/
|
||||
* we have one free byte in it for the trailing NUL we add below). */
|
||||
truncated = true;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
#define UDF_SUPER_MAGIC 0x15013346
|
||||
#endif
|
||||
|
||||
/* b1123ea6d3b3da25af5c8a9d843bd07ab63213f4 (4.8)*/
|
||||
/* b1123ea6d3b3da25af5c8a9d843bd07ab63213f4 (4.8) */
|
||||
#ifndef BALLOON_KVM_MAGIC
|
||||
#define BALLOON_KVM_MAGIC 0x13661366
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -171,7 +171,7 @@ int open_extension_release(const char *root, const char *extension, bool relax_e
|
||||
|
||||
/* We already found what we were looking for, but there's another candidate?
|
||||
* We treat this as an error, as we want to enforce that there are no ambiguities
|
||||
* in case we are in the fallback path.*/
|
||||
* in case we are in the fallback path. */
|
||||
if (r == 0) {
|
||||
r = -ENOTUNIQ;
|
||||
break;
|
||||
|
||||
@@ -111,7 +111,7 @@ typedef enum ColorMode {
|
||||
/* Only 256 colors. */
|
||||
COLOR_256,
|
||||
|
||||
/* For truecolor or 24bit color support.*/
|
||||
/* For truecolor or 24bit color support. */
|
||||
COLOR_24BIT,
|
||||
|
||||
_COLOR_INVALID = -EINVAL,
|
||||
|
||||
Reference in New Issue
Block a user