loaddrv: Updated error message on invalid args passed (#364)
Added a usage line and changed the wording slightly to be more clear in the expected arguments. Co-authored-by: Aditya Yellapuntula Venkata <aditya.yellapuntulavenkata@doosan.com> Reviewed-on: KolibriOS/kolibrios#364 Reviewed-by: Burer <burer@noreply.localhost> Reviewed-by: Max Logaev <maxlogaev@proton.me> Co-authored-by: Aditya Yellapuntula Venkata <adityayv802@gmail.com> Co-committed-by: Aditya Yellapuntula Venkata <adityayv802@gmail.com>
This commit is contained in:
1 parent
3238f9f485
commit
4c359e42ce
1 file changed
+5
-4
@@ -27,13 +27,14 @@ start:
|
||||
cmp eax, 0
|
||||
jne ok
|
||||
nok:
|
||||
print 'LoadDrv: Error loading driver'
|
||||
print 'Driver must be in /sys/drivers/ folder.'
|
||||
print 'Its name must be w/o extension and it is case-sensitive'
|
||||
print 'E: LoadDrv: Error loading driver'
|
||||
print 'I: Usage: loaddrv <driver_name>'
|
||||
print 'I: Driver must be stored as /sys/drivers/<driver_name>.sys'
|
||||
print 'I: <driver_name> must be w/o extension and it is case-sensitive'
|
||||
mov eax, -1
|
||||
int 0x40
|
||||
ok:
|
||||
print 'LoadDrv: Driver loaded well'
|
||||
print 'I: LoadDrv: Driver loaded well'
|
||||
mov eax, -1
|
||||
int 0x40
|
||||
|
||||
|
||||
Reference in new issue
Block a user