summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2007-09-09 17:10:02 +0000
committerray <ray@openbsd.org>2007-09-09 17:10:02 +0000
commit1a5bc921a515d553c49200b39fe9ea903cb7ba65 (patch)
tree6def3e467f0aba902165151e301faa7fa6d458c3 /usr.bin/diff/diffreg.c
parentHave rlog exit 1 if any of the files could not be opened. (diff)
downloadwireguard-openbsd-1a5bc921a515d553c49200b39fe9ea903cb7ba65.tar.xz
wireguard-openbsd-1a5bc921a515d553c49200b39fe9ea903cb7ba65.zip
Move redundant prompt/fgets/sscanf lines into a function with
appropriate checks, changing sscanf to strtonum in the process. Initial diff from Charles Longeau. OK moritz and chl.
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions