missing part of patch

This commit is contained in:
Grégoire Sutre 2010-04-10 17:09:24 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 2c7031b135
commit e0fc9e78c1

View file

@ -119,7 +119,7 @@ probe (const char *path, char *device_name)
if (path == NULL) if (path == NULL)
{ {
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
if (! grub_util_check_char_device (device_name)) if (! grub_util_check_char_device (device_name))
grub_util_error ("%s is not a character device", device_name); grub_util_error ("%s is not a character device", device_name);
#else #else