diff mbox series

[hurd,commited] glob64_time64: Fix typo for stub_warning call (BZ #30146)

Message ID 20230219222349.118322-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] glob64_time64: Fix typo for stub_warning call (BZ #30146) | expand

Commit Message

Samuel Thibault Feb. 19, 2023, 10:23 p.m. UTC
We were erroneously reporting a stub warning for glob64 instead of
glob64_time64.
---
 posix/glob64-time64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Weimer Feb. 20, 2023, 11:14 a.m. UTC | #1
* Samuel Thibault:

> We were erroneously reporting a stub warning for glob64 instead of
> glob64_time64.
> ---
>  posix/glob64-time64.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/posix/glob64-time64.c b/posix/glob64-time64.c
> index 69f6f02116..196429eb6a 100644
> --- a/posix/glob64-time64.c
> +++ b/posix/glob64-time64.c
> @@ -45,6 +45,6 @@ __glob64_time64 (const char *pattern, int flags,
>  }
>  libc_hidden_def (__glob64_time64)
>  
> -stub_warning (glob64)
> +stub_warning (glob64_time64)

Shouldn't this be __glob64_time64?

Thanks,
Florian
Samuel Thibault Feb. 20, 2023, 12:45 p.m. UTC | #2
Florian Weimer, le lun. 20 févr. 2023 12:14:04 +0100, a ecrit:
> * Samuel Thibault:
> 
> > We were erroneously reporting a stub warning for glob64 instead of
> > glob64_time64.
> > ---
> >  posix/glob64-time64.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/posix/glob64-time64.c b/posix/glob64-time64.c
> > index 69f6f02116..196429eb6a 100644
> > --- a/posix/glob64-time64.c
> > +++ b/posix/glob64-time64.c
> > @@ -45,6 +45,6 @@ __glob64_time64 (const char *pattern, int flags,
> >  }
> >  libc_hidden_def (__glob64_time64)
> >  
> > -stub_warning (glob64)
> > +stub_warning (glob64_time64)
> 
> Shouldn't this be __glob64_time64?

Ah, there is no non-__ alias indeed, fixed so.

Thanks,
Samuel
diff mbox series

Patch

diff --git a/posix/glob64-time64.c b/posix/glob64-time64.c
index 69f6f02116..196429eb6a 100644
--- a/posix/glob64-time64.c
+++ b/posix/glob64-time64.c
@@ -45,6 +45,6 @@  __glob64_time64 (const char *pattern, int flags,
 }
 libc_hidden_def (__glob64_time64)
 
-stub_warning (glob64)
+stub_warning (glob64_time64)
 
 #endif