summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk_pc98
diff options
context:
space:
mode:
authorkevans <kevans@FreeBSD.org>2017-08-16 13:06:26 +0000
committerkevans <kevans@FreeBSD.org>2017-08-16 13:06:26 +0000
commit3c5634d1b9ae20b0a99db710b23f5bc2c9fda9d4 (patch)
tree93b2bc3deb4714719513f43cbab7c6a9cf4be33f /sbin/fdisk_pc98
parentd3f829dcedd1db79b00b6840265a0c34bc0b75a3 (diff)
downloadFreeBSD-src-3c5634d1b9ae20b0a99db710b23f5bc2c9fda9d4.zip
FreeBSD-src-3c5634d1b9ae20b0a99db710b23f5bc2c9fda9d4.tar.gz
MFC r303444 (ed): Call basename() in a portable way.
Pull a copy of the filename string before calling basename(). Change the loop to not return on its own, so we can put a free() statement at the bottom. Approved by: emaste (mentor, blanket MFC)
Diffstat (limited to 'sbin/fdisk_pc98')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud