trivial: libfwupdplugin: fix an error return string

This commit is contained in:
Mario Limonciello 2022-09-07 08:09:25 -05:00
parent cc8b4905ef
commit aebf33c4f6

View File

@ -1222,7 +1222,7 @@ fu_udev_device_set_physical_id(FuUdevDevice *self, const gchar *subsystems, GErr
g_set_error_literal(error, g_set_error_literal(error,
G_IO_ERROR, G_IO_ERROR,
G_IO_ERROR_NOT_FOUND, G_IO_ERROR_NOT_FOUND,
"failed to find DEVPATH"); "failed to find DEVNAME");
return FALSE; return FALSE;
} }
physical_id = g_strdup_printf("DEVNAME=%s", tmp); physical_id = g_strdup_printf("DEVNAME=%s", tmp);