chiark / gitweb /
Fix missing space in comments (#5439)
authorAsciiWolf <mail@asciiwolf.com>
Fri, 24 Feb 2017 17:14:02 +0000 (18:14 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:36 +0000 (17:58 +0200)
src/basic/khash.h
src/basic/proc-cmdline.c
src/basic/process-util.c

index 9c22f78a6af6cb186608fea09b2712186ff48b3f..c0439b6b1f704810dfd44dc53f2a7ed70ea3d31c 100644 (file)
@@ -28,7 +28,7 @@
 typedef struct khash khash;
 
 /* For plain hash functions. Hash functions commonly supported on today's kernels are: crc32c, crct10dif, crc32,
- * sha224, sha256, sha512, sha384, sha1, md5, md4, sha3-224, sha3-256, sha3-384, sha3-512, and more.*/
+ * sha224, sha256, sha512, sha384, sha1, md5, md4, sha3-224, sha3-256, sha3-384, sha3-512, and more. */
 int khash_new(khash **ret, const char *algorithm);
 
 /* For keyed hash functions. Hash functions commonly supported on today's kernels are: hmac(sha256), cmac(aes),
index 895e21570b5eaacbf8250ddb68f81fcb03f5019c..59a41e7ea4ea76f878f20a0675dde64bcaf7fd9f 100644 (file)
@@ -154,7 +154,7 @@ int proc_cmdline_get_key(const char *key, unsigned flags, char **value) {
          *
          * c) The "value" parameter is NULL. In this case a search for the exact "key" parameter is performed.
          *
-         * In all three cases, > 0 is returned if the key is found, 0 if not.*/
+         * In all three cases, > 0 is returned if the key is found, 0 if not. */
 
         if (isempty(key))
                 return -EINVAL;
index 8ced76a897c2375b4af9ac4d5acfa499ce9bc63b..08ec66fb31a5f647747a77ce7c4174c37d1ad5fe 100644 (file)
@@ -310,7 +310,7 @@ int rename_process(const char name[]) {
 
         /* Third step, completely replace the argv[] array the kernel maintains for us. This requires privileges, but
          * has the advantage that the argv[] array is exactly what we want it to be, and not filled up with zeros at
-         * the end. This is the best option for changing /proc/self/cmdline.*/
+         * the end. This is the best option for changing /proc/self/cmdline. */
         if (mm_size < l+1) {
                 size_t nn_size;
                 char *nn;