diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-01-11 22:10:31 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-01-11 22:10:31 +0000 | 
| commit | 176870a6cad869aa9bbb6b7906be146cc651c359 (patch) | |
| tree | c146f7b383478cafe6e84dae33e812c9a81fb8ef /source/components/debugger/dbdisply.c | |
| parent | 1c6f3e7bf6ed0a9ff1bd466e319cdf456e6e91dc (diff) | |
Diffstat (limited to 'source/components/debugger/dbdisply.c')
| -rw-r--r-- | source/components/debugger/dbdisply.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/source/components/debugger/dbdisply.c b/source/components/debugger/dbdisply.c index 75a29b526717..073874109878 100644 --- a/source/components/debugger/dbdisply.c +++ b/source/components/debugger/dbdisply.c @@ -5,7 +5,7 @@   ******************************************************************************/  /* - * Copyright (C) 2000 - 2015, Intel Corp. + * Copyright (C) 2000 - 2016, Intel Corp.   * All rights reserved.   *   * Redistribution and use in source and binary forms, with or without @@ -669,13 +669,15 @@ void  AcpiDbDisplayObjectType (      char                    *ObjectArg)  { +    ACPI_SIZE               Arg;      ACPI_HANDLE             Handle;      ACPI_DEVICE_INFO        *Info;      ACPI_STATUS             Status;      UINT32                  i; -    Handle = ACPI_TO_POINTER (strtoul (ObjectArg, NULL, 16)); +    Arg = strtoul (ObjectArg, NULL, 16); +    Handle = ACPI_TO_POINTER (Arg);      Status = AcpiGetObjectInfo (Handle, &Info);      if (ACPI_FAILURE (Status)) | 
