Fix klogd applet compilation on the FreeBSD
FreeBSD also using /dev/klog, see syslogd(8) Signed-off-by: Alex Samorukov <samm@os2.kiev.ua> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		
				
					committed by
					
						
						Denys Vlasenko
					
				
			
			
				
	
			
			
			
						parent
						
							dae90bbcc2
						
					
				
				
					commit
					92d84c4014
				
			@@ -100,7 +100,7 @@ static void klogd_close(void)
 | 
				
			|||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ifndef _PATH_KLOG
 | 
					# ifndef _PATH_KLOG
 | 
				
			||||||
#  ifdef __GNU__
 | 
					#  if defined(__GNU__) || defined (__FreeBSD__)
 | 
				
			||||||
#   define _PATH_KLOG "/dev/klog"
 | 
					#   define _PATH_KLOG "/dev/klog"
 | 
				
			||||||
#  else
 | 
					#  else
 | 
				
			||||||
#   error "your system's _PATH_KLOG is unknown"
 | 
					#   error "your system's _PATH_KLOG is unknown"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user