diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-04 08:19:36 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-04 08:19:36 +0100 |
commit | 679347ddc22e82197c31ef89e388154084506f72 (patch) | |
tree | c60d383df85c5834a6b7c22e7351b65413e78851 /fbtools.c | |
parent | fb7fa435af36197db5493775d01b4339484ae225 (diff) | |
download | fbida-679347ddc22e82197c31ef89e388154084506f72.tar.gz |
drm format wireup
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; |