Fixed a compile-breaking mistake in src/device.c.

This commit is contained in:
OBattler
2023-06-19 01:10:15 +02:00
parent 95c900a5dc
commit c779956048

View File

@@ -152,7 +152,7 @@ device_add_common(const device_t *d, const device_t *cd, void *p, void *params,
}
if ((c >= DEVICE_MAX) || (c >= 256)) {
fatal("DEVICE: too many devices\n");
retrn NULL;
return NULL;
}
/* Do this so that a chained device_add will not identify the same ID