Fix a typo in rtld_dirname.

This commit is contained in:
kan 2003-02-13 22:47:41 +00:00
parent 4fa55167bd
commit 9678b4e0bd

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