From c779956048fc544c3c236b2d8162325107de58e4 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 19 Jun 2023 01:10:15 +0200 Subject: [PATCH] Fixed a compile-breaking mistake in src/device.c. --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.c b/src/device.c index a49c7f1e0..7d8f5e88e 100644 --- a/src/device.c +++ b/src/device.c @@ -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