History

netbsd fix

Russ Cox committed 20 years ago

Commit f067fbc1 parent c5ee3aa1 file · +2 −0Browse files

Unified · Split

kern/sysfile.c+2−0
@@ -419,11 +419,13 @@ kread(int fd, void *buf, long n, vlong *offp) · 418 unmodified lines
419 return n;419 return n;
420}420}
421 421
422/* name conflicts with netbsd
422long423long
423_sys_read(int fd, void *buf, long n)424_sys_read(int fd, void *buf, long n)
424{425{
425 return kread(fd, buf, n, nil);426 return kread(fd, buf, n, nil);
426}427}
428*/
427 429
428long430long
429_syspread(int fd, void *buf, long n, vlong off)431_syspread(int fd, void *buf, long n, vlong off)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t