Fix a typo in rtld_dirname.
This commit is contained in:
parent
4fa55167bd
commit
9678b4e0bd
@ -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