git: unp: Fix falloc() failure in unp_fp_externalize()

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Sep 13 18:10:22 PDT 2015


commit 7d73f7932e6976a4ea8e2c12eee756ec80e38c0d
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Sep 13 20:58:33 2015 +0800

    unp: Fix falloc() failure in unp_fp_externalize()
    
    fx will be NULL, if falloc() fails.
    
    While I'm here, move local variables near their usage.

Summary of changes:
 sys/kern/uipc_usrreq.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d73f7932e6976a4ea8e2c12eee756ec80e38c0d


-- 
DragonFly BSD source repository



More information about the Commits mailing list