Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1211/4

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


@1134306103.0
 [rsc] --rw-rw-r-- M 84741 glenda sys 5949 Dec 11 07:50 sys/src/cmd/cfs/disk.c
	/n/sourcesdump/2005/1211/plan9/sys/src/cmd/cfs/disk.c:153,159 - 
	/n/sourcesdump/2005/1212/plan9/sys/src/cmd/cfs/disk.c:153,159
	  	 *  allocate allocation blocks
	  	 */
	  	for(i = 0; i < d->nab; i++)
	- 		if(dalloc(d, &dptr) < 0){
	+ 		if(dalloc(d, &dptr) == Notabno){
	  			fprint(2, "can't allocate allocation blocks\n");
	  			return -1;
	  		}


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.