Fix a typo in rtld_dirname.
This commit is contained in:
parent
d23dc82958
commit
2542b742f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110834
@ -1965,7 +1965,7 @@ rtld_dirname(const char *path, char *bname)
|
||||
/* Empty or NULL string gets treated as "." */
|
||||
if (path == NULL || *path == '\0') {
|
||||
bname[0] = '.';
|
||||
bname[1] = '0';
|
||||
bname[1] = '\0';
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user