summaryrefslogtreecommitdiff
path: root/src/commands/dd.c
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-05-03 12:17:56 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-05-03 12:17:56 -0400
commitf2606d0875dbaadb3f414d98d8f37fdbdf6036ea (patch)
tree5319a70aaba6cb57d554e7e7b0651908db4ec20a /src/commands/dd.c
parentfix ls segfault (diff)
downloadlazysphere-f2606d0875dbaadb3f414d98d8f37fdbdf6036ea.tar.gz
lazysphere-f2606d0875dbaadb3f414d98d8f37fdbdf6036ea.tar.bz2
lazysphere-f2606d0875dbaadb3f414d98d8f37fdbdf6036ea.zip
add rm, cp, mkdir, mv
Diffstat (limited to '')
-rw-r--r--src/commands/dd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/dd.c b/src/commands/dd.c
index 6b973e2..78f6041 100644
--- a/src/commands/dd.c
+++ b/src/commands/dd.c
@@ -29,16 +29,16 @@ COMMAND(dd) {
char* str = argv[i] + 3;
bs = get_number(str);
if (bs < 1) {
- error("error: block size must be greater than 0");
+ error("block size must be greater than 0");
}
} else if (prefix("count=", argv[i])) {
char* str = argv[i] + 6;
count = get_number(str);
if (count < 1) {
- error("error: count must be greather than 0");
+ error("count must be greather than 0");
}
} else {
- error("error: unkown option %s", argv[i]);
+ error("unkown option %s", argv[i]);
}
}