]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib/smbios.c
efi_loader: create stub for CreateEventEx
[people/ms/u-boot.git] / lib / smbios.c
index 22ca247fec8881ba3dcc87ffc831769f85cf1a4a..8f19ad89c121ebbc2ae1a7842edc8a8e432e3b8b 100644 (file)
@@ -112,7 +112,7 @@ static int smbios_write_type1(ulong *current, int handle)
 {
        struct smbios_type1 *t = (struct smbios_type1 *)*current;
        int len = sizeof(struct smbios_type1);
-       char *serial_str = getenv("serial#");
+       char *serial_str = env_get("serial#");
 
        memset(t, 0, sizeof(struct smbios_type1));
        fill_smbios_header(t, SMBIOS_SYSTEM_INFORMATION, len, handle);