mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Fix comparison between pointer and char literal
PR: misc/204252 Reported by: David Binderman <dcb314@hotmail.com> MFC after: 3 days X-MFC-to: stable/11, stable/10
This commit is contained in:
parent
46d30d3d9c
commit
a0d7de3b11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335264
|
@ -89,7 +89,7 @@ spin_char(void)
|
|||
{
|
||||
char ch;
|
||||
|
||||
if (spin_cp == '\0')
|
||||
if (*spin_cp == '\0')
|
||||
spin_cp = spin;
|
||||
ch = *spin_cp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue