summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2000-07-14 19:17:27 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2000-07-14 19:17:27 +0000
commitf4e6c5f84d507d7218b1fc056575a3d139e8a8d2 (patch)
tree5faa272dbb1fbaa2ed283d06a70ce3c5955fbf94 /bin
parent0efcbc13508f6338e0a60740bbaccd707a6d42fe (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/mv/mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c
index 5f0f28b1882d..903ce7ba4675 100644
--- a/bin/mv/mv.c
+++ b/bin/mv/mv.c
@@ -221,7 +221,7 @@ do_move(from, to)
* it's a regular file, do the copy internally; otherwise, use
* cp and rm.
*/
- if (stat(from, &sb)) {
+ if (lstat(from, &sb)) {
warn("%s", from);
return (1);
}