diff options
author | Michele Calgaro <[email protected]> | 2025-01-31 12:10:28 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-31 12:10:28 +0900 |
commit | 832f8eeafd6414a875bc4007a6854eae22aad560 (patch) | |
tree | 0e927b753bc0ee4401b51eb62fe1704c841d2c90 | |
parent | fc50dbc59e9b11c513975f5cee71585859c63b38 (diff) | |
download | tdebase-fix/issue-578.tar.gz tdebase-fix/issue-578.zip |
Fix building with gcc 15. This resolves issue #578fix/issue-578
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | tdm/backend/ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdm/backend/ctrl.c b/tdm/backend/ctrl.c index cc9540745..200b7056b 100644 --- a/tdm/backend/ctrl.c +++ b/tdm/backend/ctrl.c @@ -592,7 +592,7 @@ processCtrl( const char *string, int len, int fd, struct display *d ) } else if (fd >= 0 && !strcmp( ar[0], "activevt" )) { #ifdef HAVE_VTS Reply( "ok" ); - int vt_fd = getfd(NULL); + int vt_fd = getfd(); if (vt_fd > 0) { struct vt_stat vtstat; if (!ioctl(vt_fd, VT_GETSTATE, &vtstat)) { |