mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
dir_setlasterr: strcpy the right variable
This commit is contained in:
parent
b6ddd491b3
commit
8e021a46ee
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ void dir_setlasterr(const char *path) {
|
|||
lasterrl = req;
|
||||
lasterr = realloc(lasterr, lasterrl);
|
||||
}
|
||||
strcpy(lasterr, dir_curpath);
|
||||
strcpy(lasterr, path);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue