Deleted Added
full compact
errlst.c (219222) errlst.c (220376)
1/*
2 * Copyright (c) 1982, 1985, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#if defined(LIBC_SCCS) && !defined(lint)
31static char sccsid[] = "@(#)errlst.c 8.2 (Berkeley) 11/16/93";
32#endif /* LIBC_SCCS and not lint */
33#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1982, 1985, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#if defined(LIBC_SCCS) && !defined(lint)
31static char sccsid[] = "@(#)errlst.c 8.2 (Berkeley) 11/16/93";
32#endif /* LIBC_SCCS and not lint */
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/lib/libc/gen/errlst.c 219222 2011-03-03 11:28:57Z rwatson $");
34__FBSDID("$FreeBSD: head/lib/libc/gen/errlst.c 220376 2011-04-05 21:56:05Z jilles $");
35
36#include <stdio.h>
37
38const char *const sys_errlist[] = {
35
36#include <stdio.h>
37
38const char *const sys_errlist[] = {
39 "Undefined error: 0", /* 0 - ENOERROR */
39 "No error: 0", /* 0 - ENOERROR */
40 "Operation not permitted", /* 1 - EPERM */
41 "No such file or directory", /* 2 - ENOENT */
42 "No such process", /* 3 - ESRCH */
43 "Interrupted system call", /* 4 - EINTR */
44 "Input/output error", /* 5 - EIO */
45 "Device not configured", /* 6 - ENXIO */
46 "Argument list too long", /* 7 - E2BIG */
47 "Exec format error", /* 8 - ENOEXEC */

--- 109 unchanged lines hidden ---
40 "Operation not permitted", /* 1 - EPERM */
41 "No such file or directory", /* 2 - ENOENT */
42 "No such process", /* 3 - ESRCH */
43 "Interrupted system call", /* 4 - EINTR */
44 "Input/output error", /* 5 - EIO */
45 "Device not configured", /* 6 - ENXIO */
46 "Argument list too long", /* 7 - E2BIG */
47 "Exec format error", /* 8 - ENOEXEC */

--- 109 unchanged lines hidden ---