diff options
Diffstat (limited to 'ports/unix/guts/remove.c')
-rw-r--r-- | ports/unix/guts/remove.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/unix/guts/remove.c b/ports/unix/guts/remove.c index 902a640..4e2cecb 100644 --- a/ports/unix/guts/remove.c +++ b/ports/unix/guts/remove.c @@ -1,13 +1,13 @@ /* - * Copyright (c) 2008-2010 Wind River Systems; see + * Copyright (c) 2008-2010, 2012 Wind River Systems; see * guts/COPYRIGHT for information. * * static int * wrap_remove(const char *path) { * int rc = -1; */ - struct stat buf; - if (real_lstat(path, &buf) == -1) { + PSEUDO_STATBUF buf; + if (base_lstat(path, &buf) == -1) { errno = ENOENT; return -1; } |