Skip to content

Use qstrcmp instead of strcmp

Ahmad Samir requested to merge work/ahmad/libmount-null into master

qstrcmp can handle NULL args.

This fixes an issue on Slackware, which doesn't use systemd and /var/run is a bind mount of /run, and for some reason mnt_fs_get_root(fs) would return NULL, which led to crashes in dolphin and plasmashell, see: ef0b0dfa (comment 276583)

Merge request reports