VM: munmap used by VM for itself is no longer used
[minix.git] / lib / libfetch / errlist.sh
blob84779fe9970da27621b945ffed1c7c3d43638dab
1 #!/bin/sh
2 # $NetBSD: errlist.sh,v 1.2 2008/10/06 12:58:29 joerg Exp $
4 printf "static struct fetcherr $1[] = {\n"
5 while read code type msg; do
6 [ "${code}" = "#" ] && continue
7 printf "\t{ ${code}, FETCH_${type}, \"${msg}\" },\n"
8 done < $3
10 printf "\t{ -1, FETCH_UNKNOWN, \"Unknown $2 error\" }\n"
11 printf "};\n"