summaryrefslogtreecommitdiffstats
path: root/src/registry_machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/registry_machine.c')
-rw-r--r--src/registry_machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/registry_machine.c b/src/registry_machine.c
index 3510736d..6dc8200d 100644
--- a/src/registry_machine.c
+++ b/src/registry_machine.c
@@ -58,7 +58,7 @@ REGISTRY_MACHINE *registry_machine_get(const char *machine_guid, time_t when) {
if(likely(machine_guid && *machine_guid)) {
// validate it is a GUID
char buf[GUID_LEN + 1];
- if(unlikely(registry_regenerate_guid(machine_guid, buf) == -1))
+ if(unlikely(regenerate_guid(machine_guid, buf) == -1))
info("Registry: machine guid '%s' is not a valid guid. Ignoring it.", machine_guid);
else {
machine_guid = buf;