Add HW_HOSTID_LEN for libspl use
This commit is contained in:
parent
5164741b40
commit
2cd31b723e
|
@ -27,6 +27,11 @@
|
||||||
#ifndef _LIBSPL_SYS_SYSTEMINFO_H
|
#ifndef _LIBSPL_SYS_SYSTEMINFO_H
|
||||||
#define _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)
|
#define sysinfo(cmd,buf,cnt) (-1)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue