projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a468721
)
Add trailing '\0' to strings.
author
drepper
<drepper>
Sun, 26 Oct 1997 19:03:14 +0000
(19:03 +0000)
committer
drepper
<drepper>
Sun, 26 Oct 1997 19:03:14 +0000
(19:03 +0000)
sunrpc/clnt_perr.c
patch
|
blob
|
history
diff --git
a/sunrpc/clnt_perr.c
b/sunrpc/clnt_perr.c
index
89f61f0
..
af0fe43
100644
(file)
--- a/
sunrpc/clnt_perr.c
+++ b/
sunrpc/clnt_perr.c
@@
-134,6
+134,7
@@
clnt_sperror (CLIENT * rpch, const char *msg)
break;
}
*str = '\n';
+ *++str = '\0';
return (strstart);
}
@@
-252,6
+253,7
@@
clnt_spcreateerror (const char *msg)
break;
}
*cp = '\n';
+ *++cp = '\0';
return str;
}