Fixes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@395 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -803,6 +803,7 @@ status(int argc, char **argv)
|
||||
}
|
||||
pswitch(0);
|
||||
}
|
||||
sec_status();
|
||||
printf("Mode: %s; Type: %s; Form: %s; Structure: %s\n",
|
||||
modename, typename, formname, structname);
|
||||
printf("Verbose: %s; Bell: %s; Prompting: %s; Globbing: %s\n",
|
||||
@@ -1003,7 +1004,7 @@ lcd(int argc, char **argv)
|
||||
code = -1;
|
||||
return;
|
||||
}
|
||||
if (getwd(buf) != NULL)
|
||||
if (getcwd(buf, sizeof(buf)) != NULL)
|
||||
printf("Local directory now %s\n", buf);
|
||||
else
|
||||
warnx("getwd: %s", buf);
|
||||
|
Reference in New Issue
Block a user