HomeFreeBSD

hostname: avoid strcpy() overlap in -d flag handling

Description

hostname: avoid strcpy() overlap in -d flag handling

We don't need the strcpy() anyways, just use a pointer to the hostname
buffer and move it forward for hostname -d.

Sponsored by: Klara, Inc.

Details

Provenance
kevansAuthored on Sep 25 2021, 5:00 AM
Parents
rG43880c511cef: [fib_algo][dxr] Split unused range chunk list in multiple buckets
Branches
Unknown
Tags
Unknown