diff mbox series

sunrpc: Fix typo in xdr_string comment

Message ID 20210203054516.2356639-1-Paul.Zimmermann@inria.fr
State Committed
Commit 7f61f785f16d22f185de77086c44a88218436cfb
Delegated to: Paul Zimmermann
Headers show
Series sunrpc: Fix typo in xdr_string comment | expand

Commit Message

Paul Zimmermann Feb. 3, 2021, 5:45 a.m. UTC
---
 sunrpc/xdr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Weimer Feb. 3, 2021, 9:33 a.m. UTC | #1
* Paul Zimmermann:

> ---
>  sunrpc/xdr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
> index b5fb7455e2..a76094d6da 100644
> --- a/sunrpc/xdr.c
> +++ b/sunrpc/xdr.c
> @@ -728,7 +728,7 @@ libc_hidden_nolink_sunrpc (xdr_union, GLIBC_2_0)
>  /*
>   * XDR null terminated ASCII strings
>   * xdr_string deals with "C strings" - arrays of bytes that are
> - * terminated by a NULL character.  The parameter cpp references a
> + * terminated by a NUL character.  The parameter cpp references a
>   * pointer to storage; If the pointer is null, then the necessary
>   * storage is allocated.  The last parameter is the max allowed length
>   * of the string as specified by a protocol.

This is okay, thanks.

Florian
Florian Weimer Feb. 7, 2021, 10:32 a.m. UTC | #2
* Florian Weimer via Libc-alpha:

> * Paul Zimmermann:
>
>> ---
>>  sunrpc/xdr.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
>> index b5fb7455e2..a76094d6da 100644
>> --- a/sunrpc/xdr.c
>> +++ b/sunrpc/xdr.c
>> @@ -728,7 +728,7 @@ libc_hidden_nolink_sunrpc (xdr_union, GLIBC_2_0)
>>  /*
>>   * XDR null terminated ASCII strings
>>   * xdr_string deals with "C strings" - arrays of bytes that are
>> - * terminated by a NULL character.  The parameter cpp references a
>> + * terminated by a NUL character.  The parameter cpp references a
>>   * pointer to storage; If the pointer is null, then the necessary
>>   * storage is allocated.  The last parameter is the max allowed length
>>   * of the string as specified by a protocol.
>
> This is okay, thanks.

Paul, if you want to push your changes yourself, please apply for glibc
commit access here:

  <https://sourceware.org/cgi-bin/pdw/ps_form.cgi>

You can list me as the approver (assuming that this will work).

Afterwards, please add yourself to MAINTAINERS on the wiki:

  <https://sourceware.org/glibc/wiki/MAINTAINERS>

(I assume you have copyright paperwork on file with the FSF.)

Thanks,
Florian
diff mbox series

Patch

diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
index b5fb7455e2..a76094d6da 100644
--- a/sunrpc/xdr.c
+++ b/sunrpc/xdr.c
@@ -728,7 +728,7 @@  libc_hidden_nolink_sunrpc (xdr_union, GLIBC_2_0)
 /*
  * XDR null terminated ASCII strings
  * xdr_string deals with "C strings" - arrays of bytes that are
- * terminated by a NULL character.  The parameter cpp references a
+ * terminated by a NUL character.  The parameter cpp references a
  * pointer to storage; If the pointer is null, then the necessary
  * storage is allocated.  The last parameter is the max allowed length
  * of the string as specified by a protocol.