diff options
| author | rsc <rsc> | 2007-08-28 05:00:53 +0000 |
|---|---|---|
| committer | rsc <rsc> | 2007-08-28 05:00:53 +0000 |
| commit | 6eed1ee9b0e752109285bb44421cc9d59b0c171c (patch) | |
| tree | d4cc70aa98d9effef4add124bad331ec633448dc /pipe.c | |
| parent | c2f354e4e1abb4eaea466d36c26623e47917f74b (diff) | |
| download | xv6-labs-2022-6eed1ee9b0e752109285bb44421cc9d59b0c171c.tar.xz xv6-labs-2022-6eed1ee9b0e752109285bb44421cc9d59b0c171c.zip | |
formatting
Diffstat (limited to 'pipe.c')
| -rw-r--r-- | pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,6 +43,7 @@ pipealloc(struct file **f0, struct file **f1) (*f1)->pipe = p; return 0; +//PAGEBREAK: 20 bad: if(p) kfree((char*)p, PAGE); @@ -74,7 +75,7 @@ pipeclose(struct pipe *p, int writable) kfree((char*)p, PAGE); } -//PAGEBREAK: 20 +//PAGEBREAK: 30 int pipewrite(struct pipe *p, char *addr, int n) { |
