Commit d2d47540 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] Wrong kind of NUL fix for asm headers

parent ee534a13
...@@ -510,9 +510,9 @@ long __strncpy_from_user(char *dst, const char *src, long count); ...@@ -510,9 +510,9 @@ long __strncpy_from_user(char *dst, const char *src, long count);
* *
* Context: User context only. This function may sleep. * Context: User context only. This function may sleep.
* *
* Get the size of a NULL-terminated string in user space. * Get the size of a NUL-terminated string in user space.
* *
* Returns the size of the string INCLUDING the terminating NULL. * Returns the size of the string INCLUDING the terminating NUL.
* On exception, returns 0. * On exception, returns 0.
* *
* If there is a limit on the length of a valid string, you may wish to * If there is a limit on the length of a valid string, you may wish to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment