diff options
Diffstat (limited to 'freebsd/sys/kern/subr_hints.c')
-rw-r--r-- | freebsd/sys/kern/subr_hints.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/sys/kern/subr_hints.c b/freebsd/sys/kern/subr_hints.c index 7fcf3275..4c1a6008 100644 --- a/freebsd/sys/kern/subr_hints.c +++ b/freebsd/sys/kern/subr_hints.c @@ -511,5 +511,9 @@ resource_unset_value(const char *name, int unit, const char *resname) return (ENAMETOOLONG); memcpy(varname, retname, len); varname[len] = '\0'; +#ifndef __rtems__ return (kern_unsetenv(varname)); +#else /* __rtems__ */ + return (0); +#endif /* __rtems__ */ } |