X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FApplication%2FShell%2FConsoleLogger.c;h=074e0cf04654105c8fbe1ea74285109fcef203b3;hb=10dfa028f0a1c00dc1e61143ada9bfc88df0ca3f;hp=bc96da1f1bcea672c4dd5f57ce85cac878908eb0;hpb=06e24096670ba13eaff39496498a5d9e41a37034;p=mirror_edk2.git
diff --git a/ShellPkg/Application/Shell/ConsoleLogger.c b/ShellPkg/Application/Shell/ConsoleLogger.c
index bc96da1f1b..074e0cf046 100644
--- a/ShellPkg/Application/Shell/ConsoleLogger.c
+++ b/ShellPkg/Application/Shell/ConsoleLogger.c
@@ -2,7 +2,7 @@
Provides interface to shell console logger.
(C) Copyright 2013 Hewlett-Packard Development Company, L.P.
- Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett-Packard Development Company, L.P.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -322,7 +322,7 @@ UpdateDisplayFromHistory(
//
StringSegmentEndChar = CHAR_NULL;
for ( StringSegmentEnd = StringSegment
- ; StringSegmentEnd != CHAR_NULL
+ ; *StringSegmentEnd != CHAR_NULL
; StringSegmentEnd++
, Column++
){