1
0
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:
Lennart Poettering 2014-06-10 19:15:06 +02:00
parent e683212f04
commit 34f750b725

View File

@ -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++) {