summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-10 19:15:06 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-10 19:19:35 +0200
commit34f750b7251936965045754e0f337cd5495ea25b (patch)
tree905dfe0a0a970b4cff0d17389f6b72d1be1761e1 /src/core
parente683212f049ac5d3f95fb17300cfa2fd971f78f3 (diff)
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...
Diffstat (limited to 'src/core')
-rw-r--r--src/core/machine-id-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/machine-id-setup.c b/src/core/machine-id-setup.c
index 2a58e48d6f..3efcd5fac2 100644
--- a/src/core/machine-id-setup.c
+++ b/src/core/machine-id-setup.c
@@ -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++) {