diff options
Diffstat (limited to 'fbtools.c')
-rw-r--r-- | fbtools.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -324,7 +324,8 @@ gfxstate* fb_init(const char *device, char *mode) gfx->cleanup_display = fb_cleanup_display; fstat(fb, &st); - gfx->devnum = st.st_rdev; + gfx->devnum = st.st_rdev; + snprintf(gfx->devpath, sizeof(gfx->devpath), "%s", device); return gfx; |