diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-04-13 13:32:15 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-04-13 13:32:15 +0000 |
commit | af4cbec4e16d37d704bd9f82a86f7f52cd278a15 (patch) | |
tree | 75fa9d1786ffde4deed82bc4bb5c8264228a2aca /release/sysinstall/lndir.c | |
parent | 61220614a864ec6170035f34a56530e5645d00b6 (diff) |
1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.
Notes
Notes:
svn path=/head/; revision=15242
Diffstat (limited to 'release/sysinstall/lndir.c')
-rw-r--r-- | release/sysinstall/lndir.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/release/sysinstall/lndir.c b/release/sysinstall/lndir.c index 2eae0de22549..5e037cad7b97 100644 --- a/release/sysinstall/lndir.c +++ b/release/sysinstall/lndir.c @@ -163,7 +163,7 @@ dodir(char *fn, struct stat *fs, struct stat *ts, int rel) (void)dodir(buf, &sb, &sc, (buf[0] != '/')); if (chdir ("..") < 0) { msgDebug("Unable to get back to ..\n"); - return RET_FAIL; + return DITEM_FAILURE; } curdir = rcurdir = ocurdir; continue; @@ -195,24 +195,24 @@ lndir(char *from, char *to) /* to directory */ if (stat(to, &ts) < 0) { msgDebug("Destination directory doesn't exist: %s\n", to); - return RET_FAIL; + return DITEM_FAILURE; } if (!(S_ISDIR(ts.st_mode))) { msgDebug ("%s: Not a directory\n", to); - return RET_FAIL; + return DITEM_FAILURE; } if (chdir(to) < 0) { msgDebug("Unable to chdir to %s\n", to); - return RET_FAIL; + return DITEM_FAILURE; } /* from directory */ if (stat(from, &fs) < 0) { msgDebug("From directory doesn't exist: %s\n", from); - return RET_FAIL; + return DITEM_FAILURE; } if (!(S_ISDIR(fs.st_mode))) { msgDebug ("%s: Not a directory\n", from); - return RET_FAIL; + return DITEM_FAILURE; } return dodir(from, &fs, &ts, 0); } |