diff options
author | kris <kris@FreeBSD.org> | 2000-11-26 10:21:54 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-11-26 10:21:54 +0000 |
commit | 8eae02ff46f279cae89cefa462804e766d29177a (patch) | |
tree | 4d7d010b61ba6735770a24d02971abc7919473d3 /libexec/bootpd/report.c | |
parent | a6b6cceedcf79fc4c5cdcc151410cce4460c6961 (diff) | |
download | FreeBSD-src-8eae02ff46f279cae89cefa462804e766d29177a.zip FreeBSD-src-8eae02ff46f279cae89cefa462804e766d29177a.tar.gz |
Constify
Diffstat (limited to 'libexec/bootpd/report.c')
-rw-r--r-- | libexec/bootpd/report.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/bootpd/report.c b/libexec/bootpd/report.c index 8edb97f..191d545 100644 --- a/libexec/bootpd/report.c +++ b/libexec/bootpd/report.c @@ -94,13 +94,13 @@ static int numlevels = sizeof(levelnames) / sizeof(levelnames[0]); */ #ifdef __STDC__ void -report(int priority, char *fmt,...) +report(int priority, const char *fmt,...) #else /*VARARGS2*/ void report(priority, fmt, va_alist) int priority; - char *fmt; + const char *fmt; va_dcl #endif { @@ -136,7 +136,7 @@ report(priority, fmt, va_alist) /* * Return pointer to static string which gives full filesystem error message. */ -char * +const char * get_errmsg() { return strerror(errno); |