mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Fix cut'n'paste bogon.
Submitted by: Jim Pirzyk <Jim.Pirzyk@disney.com>
This commit is contained in:
parent
b429049a5d
commit
cd595ef506
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66037
@ -865,7 +865,7 @@ linprocfs_readdir(ap)
|
||||
break;
|
||||
|
||||
case 5:
|
||||
dp->d_fileno = PROCFS_FILENO(0, Puptime);
|
||||
dp->d_fileno = PROCFS_FILENO(0, Pstat);
|
||||
dp->d_namlen = 4;
|
||||
bcopy("stat", dp->d_name, 5);
|
||||
dp->d_type = DT_REG;
|
||||
|
@ -865,7 +865,7 @@ linprocfs_readdir(ap)
|
||||
break;
|
||||
|
||||
case 5:
|
||||
dp->d_fileno = PROCFS_FILENO(0, Puptime);
|
||||
dp->d_fileno = PROCFS_FILENO(0, Pstat);
|
||||
dp->d_namlen = 4;
|
||||
bcopy("stat", dp->d_name, 5);
|
||||
dp->d_type = DT_REG;
|
||||
|
Loading…
Reference in New Issue
Block a user