diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-01-09 08:04:29 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2016-01-09 08:04:29 +0000 |
commit | 6299675b9f53997ce5fe87e78f9637db4a95fa1a (patch) | |
tree | c6b46748b7acbd43285980c4499bed56654716f3 | |
parent | 06ddd0b7ac08ee057f969b2adf2c7ba8379ea6e1 (diff) |
Notes
-rw-r--r-- | lib/libstand/uuid_to_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/uuid_to_string.c b/lib/libstand/uuid_to_string.c index 418e8dcc62982..d878af495aca9 100644 --- a/lib/libstand/uuid_to_string.c +++ b/lib/libstand/uuid_to_string.c @@ -46,7 +46,7 @@ tohex(char **buf, int len, uint32_t val) char *walker = *buf; int i; - for (i = len - 1; i >= 0; i++) { + for (i = len - 1; i >= 0; i--) { walker[i] = hexstr[val & 0xf]; val >>= 4; } |