elput - fix #else path for minor
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 May 2020 15:24:46 +0000 (16:24 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 31 May 2020 21:33:07 +0000 (06:33 +0900)
src/lib/elput/elput_logind.c

index 02e5351..09aeece 100644 (file)
@@ -11,7 +11,7 @@
 # ifdef minor
 #  define MINOR(x) minor(x)
 # else
-#  define MAJOR(x) (((x) & 0xff) | (((x) >> 12) & ~0xff))
+#  define MINOR(x) (((x) & 0xff) | (((x) >> 12) & ~0xff))
 # endif
 
 static Eina_Module *_libsystemd = NULL;