]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_fsr: check strdup results properly in initallfs()
authorEric Sandeen <sandeen@redhat.com>
Sat, 26 Jan 2013 22:40:30 +0000 (22:40 +0000)
committerMark Tinguely <tinguely@eagdhcp-232-136.americas.sgi.com>
Thu, 21 Feb 2013 16:09:11 +0000 (10:09 -0600)
commit758bcc928858b85743d2f466f41c80cb40b93214
treee59bfefb562ed4449e880c76ec33bbdf71f3a73a
parent6063fecad207d13981dea3e20f89f7ac4c3fb26f
xfs_fsr: check strdup results properly in initallfs()

initallfs() does 2 strdups, but then checks the result
of one of them twice, rather then checking each one.
Fix this.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Mark Tinguely <tinguely@sgi.com>
fsr/xfs_fsr.c