]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: Fix crash in previous commit if root is not set
authorColin Walters <walters@verbum.org>
Wed, 25 Feb 2015 13:22:38 +0000 (08:22 -0500)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 25 Feb 2015 14:27:05 +0000 (11:27 -0300)
commit0b3aef23b8e5cc935caaec6230782553c1a4ca95
tree5cd3904b33010ceef13baab3a913a0e6d09e6004
parente90f0704ea81c4e90663c4e8ea91e475f0b6aa36
depmod: Fix crash in previous commit if root is not set

[This fixes http://build.gnome.org/continuous/buildmaster/builds/2015/02/25/31/build/output.txt ]

The variable we're reading here is "root", not "optarg" which is only
valid inside the getopt call.
tools/depmod.c