aboutsummaryrefslogtreecommitdiff
path: root/test/lsudev.c
AgeCommit message (Collapse)Author
2021-09-17Tests: fix -Wformat compiler warningYegor Yefremov
Use G_GUINT64_FORMAT to properly format a guint64 type.
2021-09-07test,lsudev: add attribute format to println()Aleksander Morgado
../test/lsudev.c: In function ‘println’: ../test/lsudev.c:68:5: warning: function ‘println’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 68 | g_string_append_vprintf (output, fmt, args); | ^~~~~~~~~~~~~~~~~~~~~~~
2020-01-31test,lsudev: fix warnings with -Wsign-compareAleksander Morgado
lsudev.c: In function ‘println’: lsudev.c:64:19: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Werror=sign-compare] 64 | for (i = 0; i < indent; i++) | ^
2019-07-31test: untabifyBen Chan
2017-02-03glib: remove invocations of g_type_init()Ben Chan
g_type_init() has been deprecated (and also marked with the attribute 'deprecated') since glib 2.36 as the type system is automatically initialized. Since the minimum version of glib required by ModemManager is 2.36, calling g_type_init() isn't necessarily in the ModemManager code.
2012-03-16build: require gudev >= 147Aleksander Morgado
Since udev 147 the gudev API is no longer marked as experimental, and therefore `G_UDEV_API_IS_SUBJECT_TO_CHANGE' is no longer needed.
2010-04-09test: fix lsudev crashDan Williams
2009-12-20test: fix build warningDan Williams
2009-11-17test: add lsudev.c since I don't know where else to put itDan Williams
A helpful little tool to debug udev device relationships.