diff options
author | Warner Losh <imp@FreeBSD.org> | 2016-03-23 04:18:57 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2016-03-23 04:18:57 +0000 |
commit | 1ed9c427e51a01603bc03fb54761ae6993e55672 (patch) | |
tree | 0f28d0ba9bb681ee39a919b529e285972d2aae46 /usr.sbin/uathload | |
parent | 9b511ce96b00970a94a3476e0451e1260fbd5396 (diff) | |
download | src-1ed9c427e51a01603bc03fb54761ae6993e55672.tar.gz src-1ed9c427e51a01603bc03fb54761ae6993e55672.zip |
Implement suggestion by jhb@ to have _PATH_FIRMWARE instead of hard
coding it to be "/usr/share/firmware".
Notes
Notes:
svn path=/head/; revision=297205
Diffstat (limited to 'usr.sbin/uathload')
-rw-r--r-- | usr.sbin/uathload/uathload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/uathload/uathload.c b/usr.sbin/uathload/uathload.c index ba2258f101b8..50e9eb64d757 100644 --- a/usr.sbin/uathload/uathload.c +++ b/usr.sbin/uathload/uathload.c @@ -143,7 +143,7 @@ main(int argc, char *argv[]) if (argc == 1) fwname = argv[0]; else - fwname = "/usr/share/firmware/ar5523.bin"; + fwname = _PATH_FIRMWARE "/ar5523.bin"; fw = open(fwname, O_RDONLY, 0); if (fw < 0) err(-1, "open(%s)", fwname); |