Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
util-linux
> klogconsole.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File klogconsole.diff of Package util-linux (Revision 13)
Currently displaying revision
13
,
show latest
--- klogconsole/Makefile +++ klogconsole/Makefile @@ -15,11 +15,11 @@ all: klogconsole klogconsole: klogconsole.c - $(CC) $(CFLAGS) -s -o $@ $< + $(CC) $(CFLAGS) -o $@ $< clean: $(RM) klogconsole install: klogconsole klogconsole.man - $(INSTALL) -s -m 0700 klogconsole $(DEST)/usr/sbin/ + $(INSTALL) -m 0700 klogconsole $(DEST)/usr/sbin/ $(INSTALL) -c -m 0444 klogconsole.man $(DEST)/usr/share/man/man8/klogconsole.8 --- klogconsole/klogconsole.c +++ klogconsole/klogconsole.c @@ -46,7 +46,7 @@ char newvt[2]; int vt; - if ((new_console < 1) || (new_console > MAX_CONSOLE)) { + if ((new_console < 0) || (new_console > MAX_CONSOLE)) { fprintf(stderr,"wrong console number\n"); exit(1); }