aboutsummaryrefslogtreecommitdiff
path: root/netnuke.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2009-09-11 00:48:31 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2009-09-11 00:48:31 -0400
commitcb583ccdc4e363813826bb36aa1eb8502b787d33 (patch)
tree1742d2099c2d2aff962b4140aefe113b011b7e57 /netnuke.h
parent223298860b2ce45ee23e4b1ba60dcbe09eeb8b6b (diff)
downloadNetNuke-cb583ccdc4e363813826bb36aa1eb8502b787d33.tar.gz
First truely working implementation.
Diffstat (limited to 'netnuke.h')
-rw-r--r--netnuke.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/netnuke.h b/netnuke.h
index 9147beb..4328521 100644
--- a/netnuke.h
+++ b/netnuke.h
@@ -4,7 +4,7 @@
/* Prototypes */
void fillRandom(char buffer[], uint64_t length);
void staticPattern() __attribute__((alias("fillRandom")));
-int32_t nuke(const char* media, uint64_t size);
+int32_t nuke(char* media, uint64_t size);
uint64_t getSize(const char* media);
void echoList(void);
void usage(const char* cmd);
@@ -39,7 +39,7 @@ int humanize_number(char *buf, size_t len, int64_t bytes,
along with this program. If not, see <http://www.gnu.org/licenses/>."
/* Output update speed based on writes */
-#define RETAINER 512
+#define RETAINER 128
/* Used to assist argument parsing */
#define ARGMATCH(arg) strncmp(argv[tok], arg, strlen(arg)) == 0