Fix a typo in rtld_dirname.

This commit is contained in:
Alexander Kabaev 2003-02-13 22:47:41 +00:00
parent d23dc82958
commit 2542b742f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110834

View File

@ -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);
}