summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/devices.c
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2011-11-24 18:37:16 +0000
committerfjoe <fjoe@FreeBSD.org>2011-11-24 18:37:16 +0000
commit73353fa9468456dfe7a8fa351228fd25538f99e3 (patch)
tree9e5f23a822d51522e33be85bca7d8f85e18b6968 /usr.sbin/sade/devices.c
parent785264a30f01132975737fa8e81af24c6eb6bc33 (diff)
downloadFreeBSD-src-73353fa9468456dfe7a8fa351228fd25538f99e3.zip
FreeBSD-src-73353fa9468456dfe7a8fa351228fd25538f99e3.tar.gz
Port to new libdialog.
Diffstat (limited to 'usr.sbin/sade/devices.c')
-rw-r--r--usr.sbin/sade/devices.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sade/devices.c b/usr.sbin/sade/devices.c
index 12581e4..fd7ca07 100644
--- a/usr.sbin/sade/devices.c
+++ b/usr.sbin/sade/devices.c
@@ -29,7 +29,6 @@
*
*/
-#include "sade.h"
#include <sys/fcntl.h>
#include <sys/param.h>
#include <sys/socket.h>
@@ -40,6 +39,8 @@
#include <ctype.h>
#include <libdisk.h>
+#include "sade.h"
+
/* how much to bias minor number for a given /dev/<ct#><un#>s<s#> slice */
#define SLICE_DELTA (0x10000)
@@ -247,7 +248,7 @@ deviceGetAll(void)
}
free(names);
}
- dialog_clear_norefresh();
+ dlg_clear();
}
/* Rescan all devices, after closing previous set - convenience function */
OpenPOWER on IntegriCloud