summaryrefslogtreecommitdiff
path: root/vtysh/vtysh_main.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-03-13 12:08:38 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-13 12:08:38 -0400
commit1f35b46a2f35d59b86ed3ee557aa1c9fcf2fcac9 (patch)
tree27de606b3510b126766ac7a0ac9eb8ddf4573ab0 /vtysh/vtysh_main.c
parentd47ae3db4cf14c72d8468d61113ac88e19235791 (diff)
parentc1a003878246ccc84ab5986558ca959f4545f738 (diff)
Merge branch 'master' into docuser
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vtysh/vtysh_main.c')
-rw-r--r--vtysh/vtysh_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c
index ca6c7798eb..a3d2f95ec1 100644
--- a/vtysh/vtysh_main.c
+++ b/vtysh/vtysh_main.c
@@ -526,8 +526,8 @@ int main(int argc, char **argv, char **env)
*/
homedir = vtysh_get_home();
if (homedir) {
- snprintf(history_file, sizeof(history_file),
- "%s/.history_frr", homedir);
+ snprintf(history_file, sizeof(history_file), "%s/.history_frr",
+ homedir);
if (read_history(history_file) != 0) {
int fp;