aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/login/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysbin/login/main.c')
-rw-r--r--src/sysbin/login/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysbin/login/main.c b/src/sysbin/login/main.c
index 1d5da8a..eac19e7 100644
--- a/src/sysbin/login/main.c
+++ b/src/sysbin/login/main.c
@@ -6,7 +6,7 @@
#include <gip.h>
typedef struct {
- framebuffer_info_t mode;
+ fb_info_t mode;
size_t fb_size;
void* map;
@@ -71,7 +71,7 @@ void c_buffer_info(gip_handler_t *s, gip_msg_header *p, gip_buffer_info_msg *m)
c->fd = use_token(&m->tok);
if (c->fd != 0) {
- memcpy(&c->mode, &m->geom, sizeof(framebuffer_info_t));
+ memcpy(&c->mode, &m->geom, sizeof(fb_info_t));
dbg_printf("[login] Got buffer on FD %d, %dx%dx%d\n",
c->fd, c->mode.width, c->mode.height, c->mode.bpp);