Add HW_HOSTID_LEN for libspl use

This commit is contained in:
Brian Behlendorf 2009-02-18 16:00:50 -08:00
parent 5164741b40
commit 2cd31b723e
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@
#ifndef _LIBSPL_SYS_SYSTEMINFO_H
#define _LIBSPL_SYS_SYSTEMINFO_H
#define HW_INVALID_HOSTID 0xFFFFFFFF /* an invalid hostid */
#define HW_HOSTID_LEN 11 /* minimum buffer size needed */
/* to hold a decimal or hex */
/* hostid string */
#define sysinfo(cmd,buf,cnt) (-1)
#endif