diff options
Diffstat (limited to 'common/machine_id.c')
-rw-r--r-- | common/machine_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/machine_id.c b/common/machine_id.c index c1309ccafd..6480806cd2 100644 --- a/common/machine_id.c +++ b/common/machine_id.c @@ -24,7 +24,7 @@ void machine_id_set_hashable(const void *hashable, size_t len) __machine_id_hashable_length = len; } -static int machine_id_set_bootarg(void) +static int machine_id_set_globalvar(void) { struct digest *digest = NULL; unsigned char machine_id[SHA1_DIGEST_SIZE]; @@ -64,6 +64,6 @@ out: return ret; } -late_initcall(machine_id_set_bootarg); +late_initcall(machine_id_set_globalvar); BAREBOX_MAGICVAR(global.machine_id, "Persistent device-specific, hexadecimal, 32-character id"); |