Skip to content

Commit

Permalink
trim some trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
stspdotname committed May 24, 2023
1 parent f2d8aa2 commit 03d64e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions externs.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ typedef struct cmd {
char **table; /* next table for context completion */
int stlen; /* struct length (for rows in next table) */
int (*handler) (); /* routine which executes command */
int needpriv; /* Do we need privilege to execute? */
int needpriv; /* Do we need privilege to execute? */
int needconfig; /* Do we need config mode to execute? */
int nocmd; /* Can we specify 'no ...command...'? */
int modh; /* Is it a mode handler for cmdrc()? */
} Command;

typedef struct menu {
char *name; /* How user refers to it (case independent) */
char *help; /* Help information (0 ==> no help) */
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ main(int argc, char *argv[])
int top, ch, iflag = 0, cflag = 0;
char rc[PATH_MAX];

if(getuid() != 0)
if(getuid() != 0)
printf("%% Functionality limited without root privilege.\n");

pid = getpid();
Expand Down

0 comments on commit 03d64e4

Please sign in to comment.