| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: dbhistry - debugger HISTORY command |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 27 | 27 | static u16 acpi_gbl_lo_history = 0; |
|---|
| 28 | 28 | static u16 acpi_gbl_num_history = 0; |
|---|
| 29 | 29 | static u16 acpi_gbl_next_history_index = 0; |
|---|
| 30 | | -u32 acpi_gbl_next_cmd_num = 1; |
|---|
| 31 | 30 | |
|---|
| 32 | 31 | /******************************************************************************* |
|---|
| 33 | 32 | * |
|---|
| .. | .. |
|---|
| 121 | 120 | |
|---|
| 122 | 121 | for (i = 0; i < acpi_gbl_num_history; i++) { |
|---|
| 123 | 122 | if (acpi_gbl_history_buffer[history_index].command) { |
|---|
| 124 | | - acpi_os_printf("%3ld %s\n", |
|---|
| 123 | + acpi_os_printf("%3u %s\n", |
|---|
| 125 | 124 | acpi_gbl_history_buffer[history_index]. |
|---|
| 126 | 125 | cmd_num, |
|---|
| 127 | 126 | acpi_gbl_history_buffer[history_index]. |
|---|