mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
machine-id-setup: fix array size of parameters
Not that it really would have any effect on the generated code, but let's not confuse people...
This commit is contained in:
parent
e683212f04
commit
34f750b725
@ -38,7 +38,7 @@
|
||||
#include "fileio.h"
|
||||
#include "path-util.h"
|
||||
|
||||
static int shorten_uuid(char destination[36], const char *source) {
|
||||
static int shorten_uuid(char destination[34], const char source[36]) {
|
||||
unsigned i, j;
|
||||
|
||||
for (i = 0, j = 0; i < 36 && j < 32; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user