diff --git a/lib/device/device_id.c b/lib/device/device_id.c index 34469e262..bd9b3c4bf 100644 --- a/lib/device/device_id.c +++ b/lib/device/device_id.c @@ -529,7 +529,7 @@ const char *device_id_system_read(struct cmd_context *cmd, struct device *dev, u } if (!sysbuf[0]) - goto_bad; + goto bad; if (!(idname = strdup(sysbuf))) goto_bad;