dt_error.c (249573) | dt_error.c (250812) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 9 unchanged lines hidden (view full) --- 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 9 unchanged lines hidden (view full) --- 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 |
26/* 27 * Copyright (c) 2012 by Delphix. All rights reserved. 28 */ 29 |
|
26#include <string.h> 27#include <strings.h> 28#include <dt_impl.h> 29 30static const struct { 31 int err; 32 const char *msg; 33} _dt_errlist[] = { 34 { EDT_VERSION, "Client requested version newer than library" }, 35 { EDT_VERSINVAL, "Version is not properly formatted or is too large" }, 36 { EDT_VERSUNDEF, "Requested version is not supported by compiler" }, 37 { EDT_VERSREDUCED, "Requested version conflicts with earlier setting" }, 38 { EDT_CTF, "Unexpected libctf error" }, 39 { EDT_COMPILER, "Error in D program compilation" }, | 30#include <string.h> 31#include <strings.h> 32#include <dt_impl.h> 33 34static const struct { 35 int err; 36 const char *msg; 37} _dt_errlist[] = { 38 { EDT_VERSION, "Client requested version newer than library" }, 39 { EDT_VERSINVAL, "Version is not properly formatted or is too large" }, 40 { EDT_VERSUNDEF, "Requested version is not supported by compiler" }, 41 { EDT_VERSREDUCED, "Requested version conflicts with earlier setting" }, 42 { EDT_CTF, "Unexpected libctf error" }, 43 { EDT_COMPILER, "Error in D program compilation" }, |
40 { EDT_NOREG, "Insufficient registers to generate code" }, | |
41 { EDT_NOTUPREG, "Insufficient tuple registers to generate code" }, 42 { EDT_NOMEM, "Memory allocation failure" }, 43 { EDT_INT2BIG, "Integer constant table limit exceeded" }, 44 { EDT_STR2BIG, "String constant table limit exceeded" }, 45 { EDT_NOMOD, "Unknown module name" }, 46 { EDT_NOPROV, "Unknown provider name" }, 47 { EDT_NOPROBE, "No probe matches description" }, 48 { EDT_NOSYM, "Unknown symbol name" }, --- 186 unchanged lines hidden --- | 44 { EDT_NOTUPREG, "Insufficient tuple registers to generate code" }, 45 { EDT_NOMEM, "Memory allocation failure" }, 46 { EDT_INT2BIG, "Integer constant table limit exceeded" }, 47 { EDT_STR2BIG, "String constant table limit exceeded" }, 48 { EDT_NOMOD, "Unknown module name" }, 49 { EDT_NOPROV, "Unknown provider name" }, 50 { EDT_NOPROBE, "No probe matches description" }, 51 { EDT_NOSYM, "Unknown symbol name" }, --- 186 unchanged lines hidden --- |