. rc script and service know to look in /usr/pkg/.. for extra binaries and conf files . service split into parsing config and doing RS request so that a new utility (printconfig) can just print the config in machine-parseable format for netconf integration . converted all base system eth drivers/netconf
		
			
				
	
	
		
			18 lines
		
	
	
		
			237 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			237 B
		
	
	
	
		
			C
		
	
	
	
	
	
 | 
						|
#include <stdarg.h>
 | 
						|
#include <stdio.h>
 | 
						|
#include <stdlib.h>
 | 
						|
 | 
						|
void fatal(char *fmt, ...)
 | 
						|
{
 | 
						|
	va_list ap;
 | 
						|
 | 
						|
	fprintf(stderr, "fatal error: ");
 | 
						|
	va_start(ap, fmt);
 | 
						|
	vfprintf(stderr, fmt, ap);
 | 
						|
	va_end(ap);
 | 
						|
	fprintf(stderr, "\n");
 | 
						|
 | 
						|
	exit(1);
 | 
						|
}
 |