projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add /usr/sbin, so user's will find chown
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
confstr.c
diff --git
a/usr/src/lib/libc/gen/confstr.c
b/usr/src/lib/libc/gen/confstr.c
index
a5d9b8b
..
bbebffc
100644
(file)
--- a/
usr/src/lib/libc/gen/confstr.c
+++ b/
usr/src/lib/libc/gen/confstr.c
@@
-6,7
+6,7
@@
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)confstr.c 5.
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)confstr.c 5.
2
(Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <errno.h>
#endif /* LIBC_SCCS and not lint */
#include <errno.h>
@@
-22,10
+22,10
@@
confstr(name, buf, len)
switch (name) {
case _CS_PATH:
if (len != 0 && buf != NULL) {
switch (name) {
case _CS_PATH:
if (len != 0 && buf != NULL) {
- (void)strncpy(buf, _PATH_
DEF
PATH, len - 1);
+ (void)strncpy(buf, _PATH_
STD
PATH, len - 1);
buf[len - 1] = '\0';
}
buf[len - 1] = '\0';
}
- return (sizeof(_PATH_
DEF
PATH));
+ return (sizeof(_PATH_
STD
PATH));
default:
errno = EINVAL;
return (0);
default:
errno = EINVAL;
return (0);