summaryrefslogtreecommitdiffstats
path: root/cmd-select-layout.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-04-10 09:53:52 +0000
committerTiago Cunha <tcunha@gmx.com>2012-04-10 09:53:52 +0000
commit09e6b7c13788c34cd35a2c788a53ebf4a45ce725 (patch)
treefa13f5295f8ad873e37e111e64a9b3ca35f7fcd8 /cmd-select-layout.c
parent36ece3fcf5dc892b435c9cead8b2e408051745e8 (diff)
Sync OpenBSD patchset 1086:
Turn some errors down to info.
Diffstat (limited to 'cmd-select-layout.c')
-rw-r--r--cmd-select-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-select-layout.c b/cmd-select-layout.c
index 658f3309..fe728980 100644
--- a/cmd-select-layout.c
+++ b/cmd-select-layout.c
@@ -113,13 +113,13 @@ cmd_select_layout_exec(struct cmd *self, struct cmd_ctx *ctx)
layout_list_add(w);
if (args_has(self->args, 'U')) {
if ((layoutname = layout_list_redo(w)) == NULL) {
- ctx->error(ctx, "no more layout history");
+ ctx->info(ctx, "no more layout history");
return (-1);
}
goto set_layout;
} else if (args_has(self->args, 'u')) {
if ((layoutname = layout_list_undo(w)) == NULL) {
- ctx->error(ctx, "no more layout history");
+ ctx->info(ctx, "no more layout history");
return (-1);
}
goto set_layout;