mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
51f443a074
Add fm_panic define Add another bad atomic hack (need to do this right) git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@35 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
19 lines
563 B
C
19 lines
563 B
C
#ifndef _SPL_CMN_ERR_H
|
|
#define _SPL_CMN_ERR_H
|
|
|
|
#include <sys/varargs.h>
|
|
|
|
#define CE_CONT 0 /* continuation */
|
|
#define CE_NOTE 1 /* notice */
|
|
#define CE_WARN 2 /* warning */
|
|
#define CE_PANIC 3 /* panic */
|
|
#define CE_IGNORE 4 /* print nothing */
|
|
|
|
extern void cmn_err(int, const char *, ...);
|
|
extern void vcmn_err(int, const char *, __va_list);
|
|
extern void vpanic(const char *, __va_list);
|
|
|
|
#define fm_panic panic
|
|
|
|
#endif /* SPL_CMN_ERR_H */
|